#thirddiamond_api

1 messages ยท Page 1 of 1 (latest)

subtle oceanBOT
#

๐Ÿ‘‹ 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/1326479734053539911

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

delicate parrot
#

Hi, let me help you with this.

#

Could you please share a screenshot of where you see it?
It shouldn't be the case when you explicitly provide payment_method_types

dusky pike
#

here it's showing US bank account

#

I am using payment_method_types: ["card"], only

delicate parrot
#

It doesn't seem like this is the payment that you shared in the request log.

#

How are you rendering this Payment Element exactly?

dusky pike
#

<Elements options={option} stripe={stripePromise}>
<CheckoutForm plandetails={plandetails} />
</Elements>

#

const appearance = {
theme: "stripe",
};
paasing appearance and client secretn in option

delicate parrot
#

Could you please share more code, with backend too.

dusky pike
#

@delicate parrot are you there

delicate parrot
#

Yes, I am still looking...

#

Do you have a live website where I could reproduce this issue?

dusky pike
#

it's seems like i am creating subscription when user pays amount. hence not creating any payment intent before payment form render

delicate parrot
#

I don't see where you're creating the Subscription in the code you shared...

dusky pike
#

how can i hide bank payment option from frontend

delicate parrot
dusky pike
#

but those option i need to give during cretion of subsctiptn i am creating subscription after payment form render

delicate parrot
#

Is there a reason why you perform the steps in different order for one-off and for recurring payments?

dusky pike
#

Yes sometime user don't complate full payment that's why i created separted to avoin unnessry sub creation

dusky pike
#

when i am using link pay it's turning on bank payment as well

#

i dont want bank payment

delicate parrot
#

I understand. I don't think you have granular control over how Link works. So if you don't want to get bank payments via Link you will probably need to disable Link completely