Jump to content

Bitpay - Multi-Invoices Issue


Michael

Recommended Posts

We've noticed a issue when you select multiple invoices to pay and then trying to use the Bitpay gateway it just reloads the page and not going to the checkout. However if you enter the amount it works fine. It's weird because I thought I paid multiple invoices before though.

Link to comment
Share on other sites

Blesta will only take the customer to BitPay if it receives a valid response URL from BitPay that it can redirect them to, otherwise the page will reload.

 

Check your logs under [Tools] -> [Gateways] -> (click the BitPay table row). What is the response from BitPay?

Link to comment
Share on other sites

I was able to duplicate this functionality as well, here was the output:

 

https://bitpay.com/api/invoice/

a:1:{s:5:"error";a:3:{s:4:"type";s:15:"validationError";s:7:"message";s:29:"One or more fields is invalid";s:8:"messages";a:1:{s:7:"posData";s:30:"must be 100 characters or less";}}}

 

posData contains a delimited array of invoice ID's and amounts. In my test, I count 49 characters in posData.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...