[Skip to main content](#vessel-content)

#   BitPay Error:One or more fields is invalid

##

- **[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")**
- [![vaclav's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6663-vaclav "View vaclav's Profile") Topic Author
- [ Offline](/forum/user/6663-vaclav)

Less More

- Posts: 95
- Thank you received: 1
-
-
-

12 years 1 month ago [\#172510](#172510) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172510 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")* was created by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- Error-message(debug-mod must be tuned on) -- : Error
Sorry your transaction did not go through successfully, please try again.
Error:One or more fields is invalid

Hi,

The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):

Error
Sorry your transaction did not go through successfully, please try again.
Error:One or more fields is invalid

I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have:
Custommer address set to "No address"
Address override set to "No".

Any idea how to fix the problem?

Thanks
Vaclav

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#172516](#172516) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172516 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Hi,

Please check the content of the log of the plugin (bplog.txt) which should be in the plugin folder.
If you can also provide a screenshot of your configuration (without your credentials), it would help us.
The plugin has not been developed by the HikaShop team, so our knowledge on the plugin is not perfect.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")**
- [![vaclav's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6663-vaclav "View vaclav's Profile") Topic Author
- [ Offline](/forum/user/6663-vaclav)

Less More

- Posts: 95
- Thank you received: 1
-
-
-

12 years 1 month ago -  12 years 1 month ago [\#172652](#172652) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172652 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Hi Nicolas,

thanks for your reply.

I checked that log and find out the error: 'buyerState' =&gt; 'must be 100 characters or less', Which I solved by publishing States in shipping address.

After I did this the error disappeared.

But there is one more error which still persist. The error is: Code:

09-23 10:20:41: array ( 'error' =&gt; array ( 'type' =&gt; 'validationError', 'message' =&gt; 'One or more fields is invalid', 'messages' =&gt; array ( 'itemDesc' =&gt; 'must be 100 characters or less', )

I tried to add description to "product_description" of the product I tried the order with but it didnt help.

You can see the screenshot attached.

Thanks
Vaclav

- [ ![bitpay-screenshot.jpg](/forum/attachment/19736) ](/forum/attachment/19736 "...screenshot.jpg") [ ](/forum/attachment/19736?download=1 "...screenshot.jpg")

Last edit: 12 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#172703](#172703) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172703 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Hi,

Regarding the plugin, there is some code in order to strip the variables so I think the error message is there because the variable is empty.
Please edit the plugin and replace Code:

if(isset($options[$k])){ $options[$k] = substr($options[$k], 0, 100); }

By Code:

if(isset($options[$k])){ $options[$k] = substr($options[$k], 0, 100); if(empty($options[$k])) unset($options[$k]); }

It will unset the options while empty.
I hope it will fix the issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")**
- [![vaclav's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6663-vaclav "View vaclav's Profile") Topic Author
- [ Offline](/forum/user/6663-vaclav)

Less More

- Posts: 95
- Thank you received: 1
-
-
-

12 years 1 month ago [\#172779](#172779) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172779 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Hi Jerome,

thanks for your reply.

I did what you wrote but this error persist:

'error' =&gt;
array (
'type' =&gt; 'validationError',
'message' =&gt; 'One or more fields is invalid',
'messages' =&gt;
array (
'itemDesc' =&gt; 'must be 100 characters or less',
),

Any other idea?

Thanks
Vaclav

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#172785](#172785) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#172785 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Hi,

Without knowing the incriminated field or more details about your configuration, I am sorry but no.
We did not developed the plugin, we are not able to reproduce your problem.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")**
- [![cbadmin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15476-cbadmin "View cbadmin's Profile")
- [ Offline](/forum/user/15476-cbadmin)

Less More

- Posts: 68
- Thank you received: 6
-
-

11 years 11 months ago -  11 years 10 months ago [\#182908](#182908) by [cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")  Replied by *[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#182908 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

In the file plugins/hikashoppayment/hikabitcoin/hikabitcoin.php

Replace the line Code:

$options['itemDesc'] = $item-&gt;order_product_name;

With Code:

$options['itemDesc'] = substr($item-&gt;order_product_name, 0, 95). " ...";

That works for me.

Last edit: 11 years 10 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile"), [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")**
- [![vaclav's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6663-vaclav "View vaclav's Profile") Topic Author
- [ Offline](/forum/user/6663-vaclav)

Less More

- Posts: 95
- Thank you received: 1
-
-
-

11 years 10 months ago [\#183279](#183279) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[BitPay Error:One or more fields is invalid](/forum/29-payment-methods/871764-bitpay-error-one-or-more-fields-is-invalid#183279 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- Error-message(debug-mod must be tuned on) -- : Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  Hi,  The BitPay payment plugin does not work. It is set and enabled but after every purchase this message appears (instead of completing the payment):  Error Sorry your transaction did not go through successfully, please try again. Error:One or more fields is invalid  I tried to change all values in my address, disabled the phone number, not using any special characters. In the plugin setup I have: Custommer address set to &quot;No address&quot; Address override set to &quot;No&quot;.  Any idea how to fix the problem?  Thanks Vaclav")*

Thanks cbadmin - your solution worked.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzE3NjQtYml0cGF5LWVycm9yLW9uZS1vci1tb3JlLWZpZWxkcy1pcy1pbnZhbGlkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
