Hoping someone may be able to help me crack this nut that I’ve been noodling on for a few days.
For our app we want to use Direct Charges to enable Connected/Seller Accounts to receive the funds directly while we pick up an application fee. It’s important that the merchant of record and responsible party for refunds/chargebacks/etc + Stripe fees is the Connected/Seller Account and not us as the app (i.e. we’re not a marketplace but we are still the connective tissue for payments).
I’ve gone through the paid @copilot courses which were super helpful. We got it working as a Destination + On Half Of but struggling to switch it to a Direct Charge. Our setup right now looks like
Step 1: Stripe.js - PaymentIntent - Create
- Confirm Now? No
- PaymentMethod ID is not set
- Transaction Type is Direct w/ Seller Account dynamically populated
Step 2: Start payment with StripeElement A
- Client Secret is dynamically populated from Step 1
- Generate PaymentMethod is set to yes
Above works when its a Destination + On Behalf but when set to Direct Charge I receive the following error in the Stripe logs “No such payment_intent: 'pi_XXXXXXXXXXXXXXX”.
My guess is it might be because the PI is being created on the Platform Account vs Connected Account but can’t seem to figure out how to get it working.
Appreciate any help!