#jitendra6425
1 messages · Page 1 of 1 (latest)
By default it's showing country field along with card details. How can i remove this field?
This can be disabled by settingfields.billingDetails.address.countrytonever
Also suppose there are multiple payment methods like card, sepa etc. how do i know payment method while creating payment intent?
The available payment methods should be returned in the response of payment intent creation underpayment_method_typesfield: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-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.
Is it better to create customer or without creating customer i can take payment?
what recommanded by stripe?
Customer is meant to use to keep track of the payments made by a customer or saved payment method. It's up to your business decision if you would like to save those information with Stripe
In my requiremet we are taking payment using cards and SEPA. in case of card we are not storing any details but if customer selects SEPA then we have to save their bank details in our system. so how can i get customer bank details if payment direct submitted through stripe?
Stripe doesn't return raw bank details. In this case, I'd recommend saving the SEPA details with Stripe and re-use it in the future with the guide here: https://stripe.com/docs/payments/sepa-debit/set-up-payment?platform=web
suppose in case of card payment. this year customer pay and stripe has created payment method for this card. now next year customer try to pay throguh same card then how do i know that same card details are exist for this customer or not?
otherwise it will create a new payment method next year too
fingerprint can be used to check if the same card is used: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes but this is automatically manage by Stripe?
for example first time customer pay via card ending 4242 and payment method created.
second time if cusotmer pay thorugh same card then stipr create new payment method or it will identify card and use old payment method?
becuase when cusotmer submit form then i don't have any card detail, yes can fetch saved payment methods but i don;t know which new card details he entered?
Are you saving customer's card payment with Stripe with the guide here https://stripe.com/docs/payments/save-during-payment? If the payment method isn't saved with Stripe, there won't be the issue you mentioned above.
If the card is saved with Stripe, same card entered will create the duplicate payment method. Here's the guide about avoiding creating duplicated payment method: https://www.youtube.com/watch?v=MvMmOWWHjVo
Learn how to save a payment method without duplication. This video uses the Deduplicate payment methods tinydemo on Glitch. Remix the project to follow along: https://glitch.com/edit/#!/stripe-tinydemos-deduplicate-cards
Presenter
Charles Watkins - Developer Advocate at Stripe - https://twitter.com/charlesw_dev
Table of contents
00:00 ...