#hayazee.
1 messages · Page 1 of 1 (latest)
How can I help?
I've got a wallet functionality in my project which will add the amount to the balance throught stripe payment link. And on the success message the payment intent is created and it transfers to the payment link. When receiving the success by payment link. THe amount that i putted in the given payment link checkout page should be added in my project's wallet's balance. This is so confusing for me can you help?
I'm also confused, can you rephrase the question and tell me what you want to achieve with Stripe API?
By using the payment link, it provides the checkout form, and the data(amount/balance) I put in the checkout form of payment link should be added to my dashboard. How can I do this? Can it happen through a parameter or anything?
So you want to have a PaymentLink which allows the customer to set an amount by themselves?
Ok, now I unerstand you
You can listen to checkout.session.complete event and get its amount_total (https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-amount_total)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.