문제

In the past I have used html forms to pass hidden 'custom' and 'invoice' parameters to Paypal during Credit Card transactions, using Paypal-Pro, so that I can use them in the IPN response later. However I can't seem to work out how to set/send these two parameters using Omnipay. If anyone could point me in the right direction here it would be appreciated.

도움이 되었습니까?

해결책

See duplicate posting:

https://github.com/omnipay/paypal/issues/10

You can use:

$request->setTransactionId();
$request->setDescription();

or

$data = $request->getData();
$data['RANDOM_DATA'] = 'hello';
$request->sendData($data);

instead of simply calling $request->send().

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top