Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilise the graphql endpoint to determine status of order #5

Merged
merged 3 commits into from
Mar 10, 2022

Conversation

indykoning
Copy link
Member

The rest endpoint literally only gets the order as it is described to.

However this can cause issues for us if the webhook url is not correctly configured.
With bad timing the customer may have to wait until the webhook is called and the order is updated.
Lastly, if a customer cancels or fails payment their cart will stay disabled (it is disabled when redirecting to the payment methods) causing an inaccessible cart.

Using the mollieProcessTransaction endpoint fetches and saves the updated payment status, so you will always have the latest status accessing the order.
If this payment status is of the failed variety it will reactivate the cart as well so you can try ordering again.

@indykoning indykoning merged commit 8fd3832 into rapidez:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant