#Mi7 - checkout recurring and one time prices

1 messages · Page 1 of 1 (latest)

oak palmBOT
vivid night
#

You cannot include mode twice like that, but you can do this generally speaking

#

You'll want to use mode=subscription to manage the creation of the subscription as the foundation of the checkout session

#

Then the one time price can also be included in the line_items, and it will appear on the first invoice only

#

So in your code, you need to merge those two line_items array into one, and just use subscription mode

#

Mi7 - checkout recurring and one time prices