Skip to content

[API] Improve checkout/payments handling#315

Open
NoResponseMate wants to merge 7 commits intoSylius:3.2from
NoResponseMate:SY-336/api-checkout-improvements
Open

[API] Improve checkout/payments handling#315
NoResponseMate wants to merge 7 commits intoSylius:3.2from
NoResponseMate:SY-336/api-checkout-improvements

Conversation

@NoResponseMate
Copy link
Collaborator

@NoResponseMate NoResponseMate commented Feb 2, 2026

Improved checkout flow that allows purely API handling of Mollie payment within Sylius, with 3 endpoints:

  1. sylius_mollie_api_shop_order_mollie_methods (GET api/v2/shop/orders/{token}/mollie-methods) - gets all methods available for the order/cart
  2. sylius_mollie_api_shop_order_mollie_select_method (POST api/v2/shop/orders/{token}/mollie-methods) - handles payment logic and returns a ready link to pay on Mollie (requires a methodId from the previous endpoint as well as a backUrl pointing to where the customer will arrive after paying)
  3. sylius_mollie_api_shop_order_mollie_payment_status (GET api/v2/shop/orders/{token}/mollie-status) - checks the state of the payment on Mollie and cascades it to Sylius

@NoResponseMate NoResponseMate added the API APIs related issues and PRs. label Feb 2, 2026
@NoResponseMate NoResponseMate marked this pull request as ready for review February 2, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API APIs related issues and PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant