Adyen / adyen-shopware5

MIT License
11 stars 12 forks source link

Don't create order if the payment fail #205

Closed TaiKamilla closed 2 years ago

TaiKamilla commented 2 years ago

The order is created ever the payment is cancel/rejected/fail And this ruins the statistics/conversions

Please don't create the order if the payment fails

Screenshot 2022-02-23 at 18 45 33 Screenshot 2022-02-23 at 18 47 26

TaiKamilla commented 2 years ago

This also ruins the google analytics convesions results

ghost commented 2 years ago

Hi Tai,

Actually we will always create an order before the payment. This is the best practice in case something happens and there is a payment with no order which could lead to many support questions and challenges finding the payment.

The plugin relies on the offer closed notification to close any open orders when the payment expires. See more info on this here: https://github.com/Adyen/adyen-shopware5/wiki#manage-orders

ghost commented 2 years ago

If this is not sufficient, happy to discuss new solutions to help make more accurate statistics with however keeping the order creation first. Therefore i will close this ticket now.