#fazilhussain015
1 messages · Page 1 of 1 (latest)
yes
Okay
And are you looking to create a custom payment form or use our hosted payment forms?
you can suggest me best suitable for me
i want to get payments from the customer for specific campaign and than want to payout the campaign creator
I looked at the document and got the checkout method.i read and i think its not suitable for me as in this method we need price lists for the products for whom we are getting payment
and we are no getting payments for the products as these are campaigns and amount could be differnet and can be change any time
You can still use Stripe Checkout here
And that would be the recommendation as it is the simplest integration
You can create Prices in-line when your customer indicates how much they want to pay
Our basic integration guide is here: https://stripe.com/docs/payments/accept-a-payment
im stuck with prices
how we can create
as we are not going with products
we had fund request created by our customers and other customers ad donner will donate for that request and after getting donation we will pay the fundraiser
You can create the Price when you create the Checkout Session using price_data: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
You do still need a Product but this can be something arbitrary
okay is there any other optimized method to implement the multiple payment methods
There are basically two options -- Stripe Checkout (our hosted checkout flow) or Elements (where you embed a payment component in your own site).
Both support multiple payment methods
See: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements for the custom flow with Elements