- Lunar version: 1.3.0
- Laravel Version: 12.56.0
- PHP Version: 8.4.16
- Database Driver & Version: MySQL 8.0.32
Expected Behaviour:
Should respect/follow the decimals for the currency.
\Lunar\Stripe\Facades\Stripe::createIntent() OR \Lunar\Stripe\Facades\Stripe::syncintent()
Actual Behaviour:
Seems to default to 2 decimals. So if I have a product that is $60.0000 it charges the customer $6000.00
Steps To Reproduce:
Change the currency you are using to 4 decimals.
Setup a checkout flow using the Livewire component provided by the Lunar Stripe package.
Have the Payment page call:
\Lunar\Stripe\Facades\Stripe::syncintent($cart);
Complete payment using a Stripe sandbox.
Expected Behaviour:
Should respect/follow the decimals for the currency.
Actual Behaviour:
Seems to default to 2 decimals. So if I have a product that is $60.0000 it charges the customer $6000.00
Steps To Reproduce:
Change the currency you are using to 4 decimals.
Setup a checkout flow using the Livewire component provided by the Lunar Stripe package.
Have the Payment page call:
Complete payment using a Stripe sandbox.