#venkateshjsoft
1 messages · Page 1 of 1 (latest)
Yeah. See this guide for an example: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
In our current flow when user select the card type, and click pay we redirect the user to PSP. Do we have simillar setup with stripe
By similar setup, are you just referring to a Stripe-hosted payment page?
yes
currently we are using buckaroo, we are migrating to stripe
we want to have simillar page in stripe to collect the card details
and confirm the payment
You can use checkout then: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
can we customize this page to show only card option, because we have our own UI to show other payment options and we can want to use this checkout page only for card payment
also I dont want my customer to fill the email, phone number again, which we already captured in our previous steps
Yeah see the api spec: https://stripe.com/docs/api/checkout/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can just pass card: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks
when I use checkout option for card, ideal or sofort is it possibel to reuse the payment methods later for renewals?
If the sessions are in payment mode (ie you're accepting a payment at the same time as you're collecting payment method details) then you'd pass this param instead: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
clear. Thanks
Stripe.StripeException: payment_intent_data.setup_future_usage is unsupported for payment method ideal.
at Stripe.StripeClient.ProcessResponse[T](StripeResponse response) in //src/Stripe.net/Infrastructure/Public/StripeClient.cs:line 153
at Stripe.StripeClient.RequestAsync[T](HttpMethod method, String path, BaseOptions options, RequestOptions requestOptions, CancellationToken cancellationToken) in //src/Stripe.net/Infrastructure/Public/StripeClient.cs:line 115
at Stripe.Service`1.RequestAsync[T](HttpMethod method, String path, BaseOptions options, RequestOptions requestOptions, CancellationToken cancellationToken) in /_/src/Stripe.net/Services/_base/Service.cs:line 263
when I create checkout session im passing following payment types "card",
"ideal",
"sofort",
"bancontact",
"sepa_debit",
"paypal"
along with SetupFutureUsage
is it possible to mention setupfutureusage only for the supproted types instead of mention in generic
You could use automatic payment methods instead: https://stripe.com/docs/connect/automatic-payment-methods
for all the payment method mentioned above, if I complete payments without specifying setupforfuture and is it possible to access those payments using intent id and continue for the recurring payments?