#ronald feng

1 messages · Page 1 of 1 (latest)

honest cloudBOT
long mulch
#

Hi there!

#

I'm not sure I understand your question. Can you give a specific example?

void lion
#

$price_new = $stripe->prices->create([
'unit_amount' => $unit_amount,
'currency' => 'usd',
'recurring' => ['interval' => 'month'],

#

$checkout_session = $stripe->checkout->sessions->create([
'mode' => 'subscription',
'line_items' => [
[
'price' => $priceIds[$package],
'quantity' => 1,
],
[
'price' => price_1NSh2NAK7pTVFQs1tQiYQwBk,
'quantity' => 1,
],
],

#

a subscription with new price id, will it be auto charge next month?