#rupinder_api

1 messages · Page 1 of 1 (latest)

ebon caveBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1408357277001584705

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

toxic junco
#

Hello, so I am using stripe js embed form

#

for some users this save card & pay via it is showing. Can you please guide me how can I test it and for which countries it is showing. The issue is user is not able to play via it

shut canopy
toxic junco
#

does it shows for any specific country?

shut canopy
#

Sorry what do you mean by does it shows for any specific country? It should work for all countries.

ebon caveBOT
hidden steeple
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

toxic junco
#

Means it is not showing for all countries

hidden steeple
#

That feature is available regardless what country

#

The issue here should be that some customer doesn't have saved payment methods

toxic junco
#

it is not showing always

hidden steeple
#

Do you have an example, where the customer have saved PaymentMethod and isn't getting displayed ?

toxic junco
#

In max cases there is no option to save it

#

not sure how some users are getting this save thing

toxic junco
#

saved_payment_method_options

I donot have this anywhere in code but it is still allowing user to save

#

$checkout_session = $stripe->paymentIntents->create([
'amount' => round($grand_total * 100),
'currency' => $currency_code,
'customer' => $customer->id,
'metadata' => [
'country' => $system_region->code,
],
'payment_method_options' => [
'card' => [
'request_three_d_secure' => 'automatic',
],
],
'automatic_payment_methods' => [
'enabled' => true,
],
'shipping' => [
'name' => $user->name . ' ' . $user->last_name,
'address' => [
'line1' => $address->address,
'city' => $address->city_id,
'postal_code' => $address->postal_code,
'country' => $system_region->code,
'state' => isset($address->state_id) ? $address->state_id : ''
]
]
]);

hidden steeple
#

I donot have this anywhere in code but it is still allowing user to save
That's Stripe Link, and not saving payment methods then

#

It's a Stripe PaymentMethod

#

Link isn’t available in India. In Brazil and Thailand, the Payment Element doesn’t support Link.
And yes, Link isn't available in all countries

toxic junco
#

for germany too it is not showing

#

how can I disable it

hidden steeple
toxic junco
#

Is it something by default?

#

cannot I disable it from code

hidden steeple
toxic junco
#

ok

#

'automatic_payment_methods' => [
'enabled' => true,
],

if I disable this will it work

hidden steeple
#

No. The only option to disable Link is via your Stripe Dashboard.

toxic junco
#

ok

#

need to disable this?

hidden steeple
#

Yeah you need to disable all Link related options