#kshama_api

1 messages ¡ Page 1 of 1 (latest)

dreamy charmBOT
#

👋 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/1240637671441829959

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

teal lion
#

hi there!

#

I'm not sure I understand the question. when buying something online, is it's possible to use a card that belongs to someone else?

#

if that's your question, then yes it should be possible.

frank kestrel
#

can you please share some link, how to achieve it, Again i am repeating my question, We have a team lead who is having credit card and a team member who don't have any card, now team member wants to purchase something and we want to use team lead card.

#

please share some article some link from stripe

teal lion
#

what link are you looking for? I don't understand. just use the card of the teammate and it shuold work.

frank kestrel
#

I did it through code, i am passing team lead card details as payment method to team member invoice, still getting stripe error that customer is not having any credit card.

teal lion
frank kestrel
teal lion
#

can you share the PaymentInent ID (pi_xxx) or Request ID (req_xxx)?

frank kestrel
teal lion
#

the error is pretty clear:

There is no default_payment_method set on this Customer or Invoice. Set a default on one of those objects, or specify the Payment Method you wish to use in the payment_method parameter.

frank kestrel
#

that's what i am explaining, the user who are trying to purchase is don't have any card and we are trying to use the team lead card there.

teal lion
#

if it's saved for on different Customer object, then that cannot work.

frank kestrel
#

oh is there any way to achieve it?

teal lion
#

achieve what? I'm sorry but your questions are very blurry.

frank kestrel
#

I just wanted to confirm if a card is saved for one customer if there any way that another customer can use it for purchase ?

teal lion
#

thanks for clairfying. no that's not possible, if the card is saved for Customer A, then only Customer A can use it.

frank kestrel
#

sure