Hello,
I'm testing PayPal Express Checkout integration in PHP using only Check out with PayPal button. When I click the button, login as my test buyer account and click Pay now I'm redirected back to my site where I dump SESSION variable.
Inside SESSION is see the following:
[Payment_Amount] => 350
[currencyCodeType] => EUR
[PaymentType] => Sale
[nvpReqArray] => Array
(
[METHOD] => SetExpressCheckout
[VERSION] => 64
[PWD] => ********
[USER] => seller_******_biz_api1.*******.***
[SIGNATURE] => *********
[PAYMENTREQUEST_0_AMT] => 350
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[RETURNURL] => http://*******//index.php?site=paypal
[action] => canceled
[CANCELURL] => http://*******//index.php?site=paypal
[PAYMENTREQUEST_0_CURRENCYCODE] => EUR
[BUTTONSOURCE] => PP-ECWizard
)
[TOKEN] => EC-****
So the problem is that the action is set to canceled. Any idea why this happens? Payment doesn't exist if I check in my sandbox seller account.
Thank you!
Best wishes,
Marko