#__rob1986__

1 messages · Page 1 of 1 (latest)

mighty marshBOT
somber lichen
haughty horizon
#

do i add the expands property as part of my $stripe->paymentLinks->create call?

#

not quite sure how do add it to my current flow of creating the payment link and redirecting them to the payment page

#

and then the webhook fires after the transaction

somber lichen
#

no, you add it as part of the webhook endpoint

#

the webhook endpoint(for checkout.session.completed) retrieves the CheckoutSession and you can pass Expand at that point

haughty horizon
#

so i make another api call within my checkout.session.completed endpoint logic?

#

and that call has the expands property

somber lichen
#

yes