We've moved discussions to Discord

Stripe subscription add_invoice_items

MarkoPasic
Hi,
I need to add invoice items to Stripe subscription like this:

      Stripe::Subscription.create({
        customer: current_account.processor_id,
        items: [{price: processor_id}],
        add_invoice_items: [{price: "price_1LTNfCFnW4bySZQFWFWvgoz6"}]
      })

Is there any way that I do it on this way, add it here as param:

current_account.subscribe(plan: processor_id,  trial_period_days: trial_days_remaining, default_tax_rates: ["#{tax_rate_code}"], coupon: coupon, metadata: metadata)  

       

Notifications
You’re not receiving notifications from this thread.