We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe1782 commit c8791faCopy full SHA for c8791fa
src/services/customerPaymentService.js
@@ -97,7 +97,7 @@ export async function createCustomerPayment(
97
req,
98
) {
99
const intentBody = {
100
- amount,
+ amount: amount * 100, // Stripe uses the smallest unit (cents)
101
currency: _.lowerCase(currency),
102
payment_method: paymentMethodId,
103
capture_method: STRIPE_CONSTANT.CAPTURE_METHOD,
0 commit comments