#Goddard-subs

1 messages ยท Page 1 of 1 (latest)

timber tiger
#

Hello! Let me take al ook

woven siren
#

thanks

timber tiger
#

Do you have a Subscription ID I can look at?

woven siren
#

one sec

#

sub_1KqzqEL5ighdTqhcEy63ig1a

timber tiger
#

๐Ÿ‘ let me take a look

woven siren
#

thanks

timber tiger
#

I'm seeing some errors that may take me a bit to dig into - i'll let you know as soon as I know more

woven siren
#

sounds good

timber tiger
#

Found the information I was looking for! The reason this is failing is because you're using our now deprecated ACH flow w/ plaid that used to only be compatible with Charges. We've since built a newer flow that can be used with Payment Intents, but if you're still using the old flow you need to go through some extra steps to have it work with Payment Intents (and Subscriptions). The step you're missing is that you have to provide mandate information: https://stripe.com/docs/payments/ach-debit/migrations#mandate-acknowledgement

Migrate from Stripe's legacy integration or from another processor with a few additional steps.

woven siren
#

So if I use an older API it will work?

timber tiger
#

Yes you can still use the old Plaid integration, but as I said - you need to go through some additional steps of providing the mandate information

woven siren
#

I see

#

appreciate you looking into that

#

Any idea why it worked in testing but not live?

#

I tried to have both environments as close as possible to make sure i had a smooth launch

#

It looks like all I need is to confirm this before the subscription is created or after in my webhook?

#

$intent = \Stripe\PaymentIntent::confirm( '{{PAYMENT_INTENT_ID}}', [ 'mandate_data' => [ 'customer_acceptance' => [ 'type' => 'offline', 'accepted_at' => '{{ACCEPTANCE_TIMESTAMP}}' ] ] ] );

timber tiger
#

It could be that we arent enforcing this rule in test mode, or it could be something about the Subscription.

#

You would confirm it after the Subscription is created. You have no way of confirming it beforedhand because the Payment Intent hasn't been created yet

woven siren
#

i see

#

the subscription create will return the payment intent then?

timber tiger
#

Yup!

#

You'll find it nested under the invoice

woven siren
#

ok awesome doesn't sound like too much more then

#

thanks a bunch this really cleared it up for me

timber tiger
#

๐Ÿ‘