#agarfuin_connect-clone

1 messages ¡ Page 1 of 1 (latest)

slow phoenixBOT
#

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

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

prisma panther
#

Hi me again, I successfully copied payment method to connected account but still cant create charges.

covert vapor
#

Do you have a request ID to share?

prisma panther
#

In this request: req_2EJIDKSTeqJwSG I copied payment method to my connected account

#

after that I made req_Vns8lziV28s6Yc this request to create charge but still get the same response:

{
  "error": {
    "code": "resource_missing",
    "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
    "message": "No such PaymentMethod: 'card_1PknNFCb1igCzzWKpzycEzea'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.",
    "param": "payment_method",
    "request_log_url": "https://dashboard.stripe.com/acct_1Px9KKCeAP4grCrH/test/logs/req_Vns8lziV28s6Yc?t=1725918206",
    "type": "invalid_request_error"
  }
}
prisma panther
leaden monolith
#

hello! Can you help me

slow phoenixBOT
#

@leaden monolith looks like you're in the wrong place, this thread is for someone else's question.

Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.

prisma panther
#

@covert vapor do you have any suggestions?

covert vapor
#

Got it

#

If you intend to use this PaymentMethod for more than just a single charge, you'll need to create a new (second) customer on the connected account and attach this PaymentMethod to the customer on the connected account before creating a direct charge on the connected account

prisma panther
#

so can i use a payment method while creating a charge only for once?

covert vapor
prisma panther
#

Ok but still why can't I create any charge?

#

From the things you said I should be able to create at least a charge am I wrong?

covert vapor
slow phoenixBOT
prisma panther
#

hmm you're correct

#

yea i missed that part sorry

#

then i need to obtain the cloned payment method's id right?

#

and make the request that way

prisma panther
covert vapor
#

Right, the original one on the platform remains the same. You should now either create a PI for the direct charge on the connected account using the newly-cloned PM or attach the newly-cloned PM to a customer on the connected account if your goal is to use the newly-cloned PM for more than just a single charge

prisma panther
#

ok how can i attach cloned PM to a customer on the connected account?

covert vapor
calm yoke
#

agarfuin_connect-clone