-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: PaymentIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report
Description
Steps to reproduce
- Add a virtual gift card product to shopping card
- Go to checkout page, on step Payment and Review, select payment method "Paypal Express"
- After redirect to Paypal page, login and Pay Now.
Expected result
- It should go to checkout success page without any error.
Actual result
- It return to checkout paypal review with error "Can't not place order." while order is create successful and Paypal marked Invoice as "Complete"
When debuging, I found that after return from Paypal Express, It call updateItem() in cart before submited quote. On function _prepareProduct(), $buyRequest is not correct data. It is currently like this:
array (
'url' => 'https://api-3t.sandbox.paypal.com/nvp',
'getPalDetails' =>
array (
'METHOD' => 'getPalDetails',
'VERSION' => '72.0',
'USER' => '',
'PWD' => '',
'SIGNATURE' => '****',
'BUTTONSOURCE' => 'Magento_Cart_Enterprise',
),
'response' =>
array (
'PAL' => 'HDGPKTQJCZ2J6',
'LOCALE' => 'en_AU',
'TIMESTAMP' => '2017-03-28T10:38:52Z',
'CORRELATIONID' => '15c8038b4edf6',
'ACK' => 'Success',
'VERSION' => '72.0',
'BUILD' => '25237094',
),
)
$buyRequest should be included gift_card_amount, gift_card_sender, gift_card_email_sender, ...
Metadata
Metadata
Assignees
Labels
Component: PaymentIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report