View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007652 | module Amazon Pay | main | public | 2024-05-23 14:14 | 2024-08-16 08:56 |
Reporter | dspeckhardt | Assigned To | |||
Priority | high | Severity | major | Reproducibility | unable to reproduce |
Status | resolved | Resolution | open | ||
Product Version | 2.1.5 | ||||
Fixed in Version | 2.1.6 | ||||
Summary | 0007652: When config isOneStepCapture and Authorization&Capture is not done, it is still possible to finish the order | ||||
Description | Modul setting is isOneStepCapture, so it should not be possible to place the order when the Authorization & Capture was not performed between OrderController and ThankYouController. | ||||
Steps To Reproduce | It is not reproducible without deeper mocking and manipulating the sourcecode i guess, because the Authorization and Capturing happens synchronously between OrderController and ThankYouController. But i can describe what probably happens: - logging in to amazon during express checkout - landing back in oxid - go to last checkout step (OrderController) - press the "buy" button - the amazon popup opens again to Authorize the payment and directly also perform the Capture ... the expected entry in the amazonpaylog table in column OSC_AMAZON_RESPONSE_MSG should be "Completed & Captured", but there is no log entry at all - anyways the order gets completed and the order confirmation email gets send to the customer - the oxid order lands in the oxfolder "ORDERFOLDER_PROBLEMS" and the oxtransstatus is "NOT_FINISHED" - in the oxid backend on the order it displays "Amazon-Zahlung bei Lieferung erfolgt" which means that the oder is treated as a amazon pay module is configured like "isTwoStepCapture" | ||||
Additional Information | We observed this behaviour more for Express Payments, but now also for the normal AmazonPay (not express). | ||||
Tags | Amazon Pay | ||||
Attached Files | |||||
related to | 0007654 | resolved | [email protected] | Caputre type is incorrectly evaluated |
related to | 0007702 | resolved | [email protected] | When config two-Step capture is done, oxorder->oxtransstatus is set to NOT_FINISHED |
|
maybe related to this fix: https://bugs.oxid-esales.com/view.php?id=7557 I would expect to be redirected back to the OrderController with a message "Unable to complete payment with amazon pay, please try again" or end the Amazon Pay session or something. Most likely the amazon api didn't answer in time during this synchonous authorize&capture process. |