I’m currently trying to complete a test payment on a Quickpay integration. I successfully generate a redirect url via the API like so,
POST https://api.quickpay.net/payments
BODY
{ "order_id": "A4asdB2343", // This is generated at random each request "currency": "EUR", "variables": { "myCustomOrderId": 123 } }
HEADERS
{ 'Accept-Version': 'v10', Authorization: `Basic ${Buffer.from(`:${authToken}`).toString('base64')}`, }
Which returns
{ "id": 145359050, ... }
Which I then generate a redirectUrl request which looks like,
PUT https://api.quickpay.net/payments/145359050/link
BODY
{ "amount": 400, "continue_url": "myurl", "cancel_url": "myurl" }
HEADERS
{ 'Accept-Version': 'v10', Authorization: `Basic ${Buffer.from(`:${authToken}`).toString('base64')}`, }
Which returns
{ "url": "https://payment.quickpay.net/payments/..." }
I then redirect to the returned address.
Once on the payment page I try to complete the transaction with the Credit card test numbers but get the error message on submission.
I know the test cards work as per the example here and I’ve added a payment method for VISA
like so,
I’m assuming I’ve miss-configured my store? Has anyone run into an issue like this?
Advertisement
Answer
Have you activated test transactions in the Quickpay manager (https://manage.quickpay.net/account) in Settings > Integration?
And did you remember to activate an acquirers with blank info ?
Also you dont need to set “visa” in “default payment methods” if you leave it blank it use every payment methods you have available