Establecer actualización de rayos de suscription Renew

// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
\Stripe\Stripe::setApiKey('sk_test_538FOfaeDI02G1nEIgi9fDP400N2A51ibF');

\Stripe\Subscription::update('sub_49ty4767H20z6a', [
  'billing_cycle_anchor' => 'now',
  'proration_behavior' => 'create_prorations',
]);
John wick