title: Quickpay : An unknown error happened. Please try again
body: <p>I'm currently trying to complete a test payment on a Quickpay integration. I successfully generate a redirect url via the API like so,</p>
  
  <p><strong>POST</strong> <a href="https://api.quickpay.net/payments" rel="nofollow noreferrer">https://api.quickpay.net/payments</a></p>
  
  <p><strong>BODY</strong></p>
  
  <pre><code>{
      "order_id": "A4asdB2343", // This is generated at random each request
      "currency": "EUR",
      "variables": {
          "myCustomOrderId": 123
      }
  }
  </code></pre>
  
  <p><strong>HEADERS</strong></p>
  
  <pre><code>{
      'Accept-Version': 'v10',
      Authorization: `Basic ${Buffer.from(`:${authToken}`).toString('base64')}`,
  }
  </code></pre>
  
  <p>Which returns</p>
  
  <pre><code>{
      "id": 145359050,
      ...
  }
  </code></pre>
  
  <p>Which I then generate a redirectUrl request which looks like,</p>
  
  <p><strong>PUT</strong> <a href="https://api.quickpay.net/payments/145359050/link" rel="nofollow noreferrer">https://api.quickpay.net/payments/145359050/link</a></p>
  
  <p><strong>BODY</strong></p>
  
  <pre><code>{
      "amount": 400,
      "continue_url": "myurl",
      "cancel_url": "myurl"
  }
  </code></pre>
  
  <p><strong>HEADERS</strong></p>
  
  <pre><code>{
      'Accept-Version': 'v10',
      Authorization: `Basic ${Buffer.from(`:${authToken}`).toString('base64')}`,
  }
  </code></pre>
  
  <p>Which returns</p>
  
  <pre><code>{
      "url": "https://payment.quickpay.net/payments/..."
  }
  </code></pre>
  
  <p>I then redirect to the returned address.</p>
  
  <p>Once on the payment page I try to complete the transaction with the <a href="https://learn.quickpay.net/tech-talk/appendixes/test/" rel="nofollow noreferrer">Credit card test numbers</a> but get the error message on submission.</p>
  
  <p><a href="https://i.stack.imgur.com/Uu8ID.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uu8ID.jpg" alt="enter image description here"></a></p>
  
  <p>I know the test cards work as per the example <a href="https://quickpay.net/uk/demonstration" rel="nofollow noreferrer">here</a> and I've added a payment method for <code>VISA</code> like so,</p>
  
  <p><a href="https://i.stack.imgur.com/vjTO8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vjTO8.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Vi8iP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vi8iP.jpg" alt="enter image description here"></a></p>
  
  <p>I'm assuming I've miss-configured my store? Has anyone run into an issue like this?</p>