Skip to content

Custom Checkout #577

Answered by ericingram
Raigeku asked this question in Help
Oct 23, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

@Raigeku that's correct, you update the cart with the billing info and then create an order with the cart ID using either the frontend or backend API.

Submitting an order from a cart is done with an HTTP request like this:

POST /orders { "cart_id": "<id>" }

Or using the frontend API, like this: https://developers.swell.is/frontend-api/orders#submit-an-order

Once the cart has the correct billing info, it will charge the card immediately or not depending on your settings

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ericingram
Comment options

Answer selected by Raigeku
@Raigeku
Comment options

@ericingram
Comment options

@vstudenichnik-insoft
Comment options

@Raigeku
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants