#arti-villa_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1342326585268768768
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- arti-villa_api, 10 hours ago, 29 messages
- arti-villa_error, 2 days ago, 25 messages
- arti-villa_api, 3 days ago, 36 messages
- arti-villa_api, 3 days ago, 7 messages
This is what I intend to do, but I'm unclear if I can use stripe sesssion this way
1. **Stripe Payment**:
Create Order โ Create Stripe Session โ Customer Pays via Stripe โ Webhook โ Update Order
2. **Third Party Payment** (e.g., Crypto):
Create Order โ Create Stripe Session (tracking only) โ
Customer Pays via Third Party โ
Verify Third Party Payment โ
Mark Stripe Session as Complete โ
Webhook โ Update Order
This way:
- Stripe sessions provide consistent checkout flow tracking
- Payment processing can happen anywhere
- Single webhook system for order status updates
- Unified order management
Then you don't need a Checkout Session. Checkout Session is primarily for accepting payments via the Session provided interface. You probably just want an Invoice, and then mark it is paid out_of_band
but we still want to use the address elements , discounts, tax calculations, cart creation. invoice doenst' sound like the right thing.
Umm but then Checkout Session can only be paid on its UI. Sorry
Yeah there is PaymentElements, which can have an external payment method you defined, and controlled
yeah but using the checkout session api. what do you check out session? The client side form like paymentelement cannot be modified.
We have a few options alongside Checkout here, but I think none of them can accept payment paid outside