Open jasonc4 opened 10 years ago
Maybe @jasonc4 was mentioning ExpressCheckout as the current documentation at https://github.com/OpenBuildings/paypal/blob/master/docs/ExpressCheckout.md is a little bit misleading. When you run $express_checkout->set_express_checkout()
, you won't receive $response['PAYERID']
. It comes later, when Paypal calls your 'return_url'
and it may be available as $_REQUEST['PayerID']
.
Moreover, in ExpressCheckout there are no shippment costs and order items must be specified (even when doing do_express_checkout_payment()
). I made some changes to the order, $params
building and gave more infromation in the example.
The changes are in a Pull Request https://github.com/OpenBuildings/paypal/pull/11, you may have a look at it.
Hey, @jasonc4! Thank you for submitting an issue. Could you please give us some more details?
For example, which PayPal API are you using? AdaptivePayments, ExpressCheckout etc.
Which API operation do you perform exactly?
Have you checked if
PAYERID
is provided from the PayPal API for your request?Thanks!