#Asif-connect
1 messages ยท Page 1 of 1 (latest)
Unfortunately not. You have to create one or the other
Thanks @tender pecan for your reply ,this is what i got when i tried to create customer via api using guest customer payment_method
Yeah, so you Payment Methods cannot be shared between Customers. Once it's attached and/or detached from a Customer, it cannot be reused with a different Customer
creating customer with same email is new customer?
HI there ๐ I'm jumping in as my teammate needs to step away soon. Yes, if you are creating a new Customer object then it will be a new Customer, regardless of whether any of the provided details match an already existing customer.
OK, also i have another question please
how do i implement stripe connect and platform behavior when connect account charges a customer a part of the commission should go to the platform...
How i can configure that using php ... can share relevent docs ?
What type of charge structure are you using for your Connect integration?
Let say recurring payments
Asif-connect
Apologies for not being clear, the charge structures that exist for Connect integrations are Direct Charges, Destination Charges, or Separate Charges and Transfers:
https://stripe.com/docs/connect/charges
If you are still in the scoping process of your Connect integration, then deciding on the charge structure that best fits your flow is one of the first steps as that influences the type of Connected accounts that you should use:
https://stripe.com/docs/connect/accounts
@lethal hill Can we implement this flow for existing customers as well?
Sorry, I don't understand, implement what flow for existing customers?
Connect integrations
Like if a subscription recure then part of commission should go to platform
That's going to depend on which of the charge structures you plan to use. If you're planning to use a Direct Charge structure, then you will need to create new Subscriptions on your Connected Accounts.
If you're using Destination Charges then I believe you may be able to update the transfer_data on existing Subscriptions:
https://stripe.com/docs/api/subscriptions/update#update_subscription-transfer_data
Similarly the Separate Charges and Transfers flow separates the payment and transfer part of the process into distinct steps, so you could create Transfers to move funds for existing Subscriptions.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.