Saleor: Create order only after the payment are paid

Created on 21 Oct 2019  路  5Comments  路  Source: mirumee/saleor

What I'm trying to achieve

In traditional B2C, the ShopBasket are only clean and the order is created, when the payment is confirmed

Describe a proposed solution

A possible solution is only create the order when the payment is confirmed, is possible to pass only the checkout id to the gateway payment?
The create the order when the payment is confirmed?

stale

All 5 comments

Hi,
The proposed solution is already implemented in API. Here you have PR - https://github.com/mirumee/saleor/pull/4154

We are focusing on the API approach and we don't have enough resources to rebuild the whole checkout process in our old Django approach (which is quite really complicated). I recommend you to switch to API.

@korycins, by API you are saying use Graphql + React Fronted?

Regards

@michelveloso yes

@korycins thank you for the great job!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mad-anne picture mad-anne  路  3Comments

flaviocolonna picture flaviocolonna  路  3Comments

Pacu2 picture Pacu2  路  3Comments

8BitAce picture 8BitAce  路  4Comments

NumanIjaz picture NumanIjaz  路  3Comments