My basic goal is to in the upcoming invoice it will directly charge quantity * price. there should not be any adjustment. How can I get it? Thanks if you have solutions
Thast what I did
$subscription->noProrate()->updateQuantity($quantity);
My basic goal is to in the upcoming invoice it will directly charge quantity * price. there should not be any adjustment. How can I get it? Thanks if you have solutions
Thast what I did
$subscription->noProrate()->updateQuantity($quantity);
Copyright © 2021 Jogjafile Inc.
Laravel cashier has a
previewInvoicemethod that allows you to preview the upcoming Invoice for a Subscription given an array of prices that you want to swap, but it doesn't seem to allow for previewing quantity updates.If you want to preview quantity updates you're better off using Stripe's API directly (see laravel's docs on how to do this) so you get full access to the set of params that are available with Stripe's Upcoming Invoice API