#ilyeselb

1 messages · Page 1 of 1 (latest)

knotty cargoBOT
whole bobcat
#

Can you share the example subscription ID you're working with?

late acorn
#

one minute i will send you

#

so basically i get trial_settings: { end_behavior: { missing_payment_method: 'create_invoice' } },

#

sub_1NZyAOGyOBDbEOMCBhL3EA55

#

the payment method is there too

whole bobcat
#

I do see the invoice ID there in the screenshot

late acorn
#

why do i get this issue then ?

whole bobcat
#

What issue exactly? Sorry I don't follow.
You said you were seeing invoice in the subscription response but the screenshot suggests there's an invoice present

late acorn
#

whe i create the subsciption

#

it return trial_settings: { end_behavior: { missing_payment_method: 'create_invoice' } },

#

but the pm is there

knotty cargoBOT
whole bobcat
#

Sorry, still don't understand the question. If the payment method is there, an invoice would still be created after the trial is over in order to continue subscriptions right?

late acorn
#

ah sorry the payment intent object is not found

#

sub_1NZyXfGyOBDbEOMCczxteiV9

#

for exemple this one

#

why ?

mild igloo
late acorn
#

i dont have access to that

#

but i can give customer test id

#

sub id

mild igloo
#

I can find it. It just takes a bit and there are a lot of people asking questions right now

late acorn
#

okay thank you

mild igloo
#

The invoice is there with the payment intent. What is the problem you are experiencing?

late acorn
#

i dont have the payment intent on the response of the createSbscription

mild igloo
#

Okay well the API is returning it in the response, I can see that.

late acorn
#

okayy thanks then i will check on my side

mild igloo
#

I would start with logging the whole object you get back and then examining the latest_invoice property

late acorn
#

it was latest invoice

#

thanks

#

for your help