#jayvir_code

1 messages ¡ Page 1 of 1 (latest)

jaunty haloBOT
#

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

📝 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.

pearl sphinx
#

hi @lone harness

i am using card using setup intent & make payment in couple of connected accounts

#

but link payment id cant be copied ?

lone harness
#

Are you talking about Link payment method?

pearl sphinx
#

yes link integration like apple pay

lone harness
#

I'm afraid that I don't quite understand your inquiry.

#

Are you talking about wallet payments? e.g., Apple Pay, Google Pay and Link?

pearl sphinx
#

yes wallet payment link

lone harness
#

Ok, and exactly what kind of "link payment ID " that you want to copy over? can you share with me such ID?

pearl sphinx
#

@lone harness

const attachedPaymentMethod = await stripe.paymentMethods.attach(
paymentMethodId,
{
customer: customerId,
},
{
stripeAccount: connectedAccountId, // Context for connected account
}
);

for card it is working
but for link it is throwing error

lone harness
pearl sphinx
#

You can clone only certain types of PaymentMethods. Cloning supports PaymentMethods that have type set to either card or us_bank_account.

#

i also want to do for wallet payments - link

lone harness
#

I see. so you want to clone a link payment method from a platform to a connected account.

#

No, I'm afraid that this isn't something that we support right now.