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

#   \[SOLVED\] Stripe Connect - no error displayed if zip is invalid

##

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

6 years 10 months ago [\#314849](#314849) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  *[Stripe Connect - no error displayed if zip is invalid](/forum/29-payment-methods/899030-solved-stripe-connect-no-error-displayed-if-zip-is-invalid#314849 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox &amp; Chrome")* was created by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")*

-- HikaShop version -- : 4.2.2
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.2.26
-- Browser(s) name and version -- : Firefox &amp; Chrome

Hi
We had a payment declined for 'invalid zip' but no error message was returned to the customer. I have run some tests using card no: 4000000000000036 (which simulates invalid zip) and get the same results - after clicking the 'Submit Payment' button the spinner just keeps spinning. Other messages seem to come through OK.
I have been in touch with Stripe but they suggest I contact the plugin provider.
Looking on the console I see an error
Code:

TypeError: response is null stripeconnect.js:178:6

The plugin is: Hikashop Stripe Connect Payment Plugin v1.0.4

Any suggestions?

Best regards
Trevor
[ ![stripe-no-error.jpg](/forum/attachment/48563) ](/forum/attachment/48563 "...e-no-error.jpg")

- [ ![stripe-no-error.jpg](/forum/attachment/48563) ](/forum/attachment/48563 "...e-no-error.jpg") [ ](/forum/attachment/48563?download=1 "...e-no-error.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTkwMzAtc29sdmVkLXN0cmlwZS1jb25uZWN0LW5vLWVycm9yLWRpc3BsYXllZC1pZi16aXAtaXMtaW52YWxpZD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 10 months ago [\#314856](#314856) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Connect - no error displayed if zip is invalid](/forum/29-payment-methods/899030-solved-stripe-connect-no-error-displayed-if-zip-is-invalid#314856 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox &amp; Chrome")*

Hello,

Thank you for the report.
I have update the Stripe Connect plugin (version 1.0.5 now) to improve the error catching and also change how the output buffer is handle to avoid the addition of extra HTML after the Stripe plugin echoed its JSON content (making the return invalid for the parsing).
You can download the latest version via your HikaShop order.

Regards,

---

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

The following user(s) said Thank You: [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")

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

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

6 years 10 months ago -  6 years 10 months ago [\#314858](#314858) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[\[SOLVED\] Stripe Connect - no error displayed if zip is invalid](/forum/29-payment-methods/899030-solved-stripe-connect-no-error-displayed-if-zip-is-invalid#314858 "-- HikaShop version -- : 4.2.2 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26 -- Browser(s) name and version -- : Firefox &amp; Chrome")*

Thanks Jerome

The failure message is now being displayed correctly.

Best regards
Trevor

Last edit: 6 years 10 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTkwMzAtc29sdmVkLXN0cmlwZS1jb25uZWN0LW5vLWVycm9yLWRpc3BsYXllZC1pZi16aXAtaXMtaW52YWxpZD90bXBsPW1hcmtkb3du) 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.051 seconds

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