#Marroco - subscription

1 messages · Page 1 of 1 (latest)

cinder moat
#

Hi there. Am a bit confused on your flow. Are you creating a SetupIntent explicitly, or are you just using the one that's created by the Subscription?

tacit garnet
#

I am creating a subscription and with the susbcritpion I am tryinh to retreive the setupintent

#

also is giving me this $subscription->pending_setup_intent

#

a null

cinder moat
#

Got it. So yeah, the first part where you say the subscription gets activated even if the customer doesn't provide payment details is expected if you're doing things that way. However, pending_setup_intent shouldn't be null. Can you share the request ID?

tacit garnet
#

sure, sorry can you give me the url

cinder moat
tacit garnet
#

req_iACsyXG1O94C0k

cinder moat
#

Ah it's because trial_period_days is set to 0

#

So there effectively isn't a trial

#

No pending setupintent would be created

tacit garnet
#

got it, in that case I need to create a paymentintent?