Payment Gateway Error

payments
javascript
stripe

#1

I’m new to Moltin and integrating it into an existent App/Site, I’m trying to test payments but only getting a error, log:

Using Stripe test api key

POST https://api.moltin.com/v2/orders/f9d9741a-96fb-4f77-8a34-ce92c9adb1bc/payments 400 (Bad Request)

errors:Array(1)
    0:detail:"Invalid positive integer"
    title:"Payment gateway error"


Moltin.Orders.Payment(order.id, {
	gateway: 'stripe',
	method: 'purchase',
	first_name: 'John',
	last_name: 'Doe',
	number: '4242424242424242',
	month: '02',
	year: '2020',
	verification_value: '123'
}).then(res => {
	console.log(res);
});

#2

The error seems to be on Moltin, dashboard orders, it show product prices as 0.00 instead of the one that’s been set


#3

Hey,

Thank you for submitting this, I will look into it and feedback as soon as possible. We may need to move this over to our support portal if it is indeed a bug


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.