#ahjaydog-combine--calls

1 messages · Page 1 of 1 (latest)

manic hazel
#

Hi there! Looks like you are expanding the PaymentIntent accordingly based on one-time versus subscription. That is the best way to handle this.

wary scarab
#

So I need to keep them separate?

#

I was hoping to do something like line 1 only and only get data from that 1 call

manic hazel
#

You just make one request based on whether a Subscription ID is returned in the webhook.

wary scarab
#

ok so if i get a subscription id or mode=subscription

#

basically wrap it in an if statement?

manic hazel
#

Yep

wary scarab
#

ok thanks