Upgrading subscriptions in Stripe using Bubble plugin

Hi all, I have an issue when a current user wants to upgrade a subscription (changing one product/price to another). I’m using the Bubble plugin. What happens right now is:

  • the subscription gets upgraded
  • the customer will be billed the prorated increase together with the new subscription amount, on the next billing cycle

What I want to happen is:

  • the customer gets charged the prorated amount now
  • the subscription is upgraded only if the payment is successful

I understand from Stripe’s documentation, and Stripe support, that this can be done via API calls at the time of creating/updating a subscription using billing_cycle_anchor to now and proration_behavior to create_prorations. I’m not a tech person, though, hence wanting to use the Bubble plugin. Does anyone have any idea how I can achieve this?