🍔 Single Slider: Direct Charges on Multiple Accounts with Cloning

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025

ความคิดเห็น • 2

  • @sivaranjaniduraisamy530
    @sivaranjaniduraisamy530 ปีที่แล้ว

    Hi, I understood , If we attach the cloned payment method to a customer on the connected account we can use it for future payments. But how do we synchronize the payment method operations between the platform and the connected accounts? For instance, in your example, if cus_1 deletes the pm_1 and added a new pm_10, then how do we synchronize these changes to the connected accounts? Also what if they change the default payment methods? One option could be listening to the stripe web hook events but still how do we compare the cards as the id's are different in platform and connected accounts?
    Please help me.

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Hi there! Unfortunately keeping the PaymentMethod in synch between the platform and connected account is something that a merchant has to do themselves, which can be tricky.
      The simplest option is to not do any sync, and instead:
      Keep the PaymentMethods on the platform account and every time you want to charge a customer, clone the PaymentMethod on the connected account and charge it there. This is mentioned in the video at the 4:45 mark.
      If you have further questions, we recommend asking them on our dedicated discord channel. This is the easiest way to get help with your technical questions, in a social environment. You can access it here: discord.com/invite/stripe