#geimsdin - php

1 messages · Page 1 of 1 (latest)

fair hollow
#

Hi there!

#

Can you try to summarize your question in this new thread?

green fern
#

Hi Soma,

#

sure

#

I'm creating an integration that using API creates a Schedule Subscription, everything seems good but I need the subscription to be charged immediately and not after 1 hour. Your colleague suggested me to finalize the invoice but that doesn't trigger the payment.

#

She/He suggested that is because my account is not fully active but I'm testing in "test mode" and there should be no limitation there for devs

fair hollow
#

Thanks for the summary! Can you share the subscription ID where you see this issue?

green fern
#

This is the subscription id: sub_1LcjwzLmxBucQd15eWRiQGda

Your colleague told me that finalize was what was needed to trigger the charge/payment

fair hollow
#

I think you need both finalize and pay. Can you try it?

green fern
#

Sure

#

invoice.pay is the method to call?

#

invoices->pay

near loom
#

Hi there! Taking over for my colleague. Let me catch up.

near loom
green fern
#

Ok, I try and let you know asap