#yzzz-return-val
1 messages · Page 1 of 1 (latest)
Hello 👋
This doesn't look like it's a Stripe API related question. Can you clarify?
This is the custom payment flow part from this link ,https://stripe.com/docs/payments/quickstart
What database are you working with?
You basically want to
1/ query your database in that function
2/ retrieve the amount (integer) and store it in a variable
3/ return that variable
i think is first option, i want to pass some value from other php file so i can retrieve amount from database.
Sorry if that was unclear but those were Steps 1-2-3
This isn't related to Stripe's API. Its more of a question around how do I perform read/write operations with my Database.
Unfortunately, we can't help much with that. You'd likely want to google and find some tutorial on how to do that with PHP.