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

#   Stripe Payment Plugin issues

##

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

Less More

- Posts: 8
- Thank you received: 1
-
-

6 years 3 months ago [\#321575](#321575) by [arcascomputing](/forum/user/32711-arcascomputing "View arcascomputing's Profile")  *[Stripe Payment Plugin issues](/forum/29-payment-methods/900325-stripe-payment-plugin-issues#321575 "-- url of the page with the problem -- :   www.asme.org.uk/resources.html#books  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.16 -- Browser(s) name and version -- : Chrome 83.0.4103.116 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : None displayed  We've just enabled the Stripe payment plugin and have configured it, however if we use the modern option (non-legacy) we get the fields showing up however it refuses to accept any UK postcodes (which most orders will be). There seems to only be enough room for 3-4 chars and so it ends up overwriting them then displaying and error that the postcode isn't right.  I tried it in Legacy mode too but then we just get a single field which I presume is for the card number but it's only about 15px wide and not at all clear what should be getting input here? Is there an issue or something in the config or do you have a Stripe checkout plugin instead?")* was created by *[arcascomputing](/forum/user/32711-arcascomputing "View arcascomputing's Profile")*

-- url of the page with the problem -- : [ www.asme.org.uk/resources.html#books](https://www.asme.org.uk/resources.html#books)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.16
-- Browser(s) name and version -- : Chrome 83.0.4103.116 (Official Build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : None displayed

We've just enabled the Stripe payment plugin and have configured it, however if we use the modern option (non-legacy) we get the fields showing up however it refuses to accept any UK postcodes (which most orders will be). There seems to only be enough room for 3-4 chars and so it ends up overwriting them then displaying and error that the postcode isn't right.

I tried it in Legacy mode too but then we just get a single field which I presume is for the card number but it's only about 15px wide and not at all clear what should be getting input here? Is there an issue or something in the config or do you have a Stripe checkout plugin instead?

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

6 years 3 months ago [\#321583](#321583) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payment Plugin issues](/forum/29-payment-methods/900325-stripe-payment-plugin-issues#321583 "-- url of the page with the problem -- :   www.asme.org.uk/resources.html#books  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.16 -- Browser(s) name and version -- : Chrome 83.0.4103.116 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : None displayed  We've just enabled the Stripe payment plugin and have configured it, however if we use the modern option (non-legacy) we get the fields showing up however it refuses to accept any UK postcodes (which most orders will be). There seems to only be enough room for 3-4 chars and so it ends up overwriting them then displaying and error that the postcode isn't right.  I tried it in Legacy mode too but then we just get a single field which I presume is for the card number but it's only about 15px wide and not at all clear what should be getting input here? Is there an issue or something in the config or do you have a Stripe checkout plugin instead?")*

Hello,

Regarding the postal code (zip) formatting, Stripe do have a documentation page for it :
[ stripe.com/docs/js/element/postal\_code\_formatting](https://stripe.com/docs/js/element/postal_code_formatting)

We do not recommend to use the legacy mode, which is not SCA complient.
The Stripe payment form is directly displayed by the Stripe Javascript and your credentials.
For what we understood regarding their documentation, if you do have the fraud prevention, the Postal Code/Zip would be displayed to your customer :
[ stripe.com/docs/disputes/prevention/verification](https://stripe.com/docs/disputes/prevention/verification)

Afterwards, it looks like that it might be possible to hide the postal code with some JS settings but I don't know what would be the impact with the disputes prevention since it would be like letting the field empty.

Regards,

---

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

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

6 years 3 months ago [\#321612](#321612) by [arcascomputing](/forum/user/32711-arcascomputing "View arcascomputing's Profile")  Replied by *[arcascomputing](/forum/user/32711-arcascomputing "View arcascomputing's Profile")* on topic *[Stripe Payment Plugin issues](/forum/29-payment-methods/900325-stripe-payment-plugin-issues#321612 "-- url of the page with the problem -- :   www.asme.org.uk/resources.html#books  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.16 -- Browser(s) name and version -- : Chrome 83.0.4103.116 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : None displayed  We've just enabled the Stripe payment plugin and have configured it, however if we use the modern option (non-legacy) we get the fields showing up however it refuses to accept any UK postcodes (which most orders will be). There seems to only be enough room for 3-4 chars and so it ends up overwriting them then displaying and error that the postcode isn't right.  I tried it in Legacy mode too but then we just get a single field which I presume is for the card number but it's only about 15px wide and not at all clear what should be getting input here? Is there an issue or something in the config or do you have a Stripe checkout plugin instead?")*

Hi Jerome

Thanks for this, i see that the issue was that since I was using a test card this was located in the US so it was looking for a US zipcode instead of a UK postcode, so will try again using a UK test card instead, if they have one. (BTW I'd only enabled the legacy checkout to see if that worked any better, it wasn't my intention to stick with that method)

I managed to process the order this time, the only new error I got was in the success redirection which attempted to go to component/hikashop/checkout/after_end/order_id-80/order_token-mREApBNP.html (we have sh404SEF enabled) but this page brought up a 404 error. Is there anything I can do to fix that?

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

6 years 3 months ago [\#321636](#321636) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payment Plugin issues](/forum/29-payment-methods/900325-stripe-payment-plugin-issues#321636 "-- url of the page with the problem -- :   www.asme.org.uk/resources.html#books  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.16 -- Browser(s) name and version -- : Chrome 83.0.4103.116 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : None displayed  We've just enabled the Stripe payment plugin and have configured it, however if we use the modern option (non-legacy) we get the fields showing up however it refuses to accept any UK postcodes (which most orders will be). There seems to only be enough room for 3-4 chars and so it ends up overwriting them then displaying and error that the postcode isn't right.  I tried it in Legacy mode too but then we just get a single field which I presume is for the card number but it's only about 15px wide and not at all clear what should be getting input here? Is there an issue or something in the config or do you have a Stripe checkout plugin instead?")*

Hello,

It looks like there is a decoding issue with sh404SEF.
We can see to patch the plugin to improve the final URL and make sh404SEF happier.

In the "stripeconnect.php" file (in the plugins/hikashoppayment/stripeconnect folder), please replace the line Code:

$this-&gt;notifyurl = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment='.$this-&gt;name.'&amp;tmpl=component&amp;order_id='.$order-&gt;order_id.'&amp;lang='.$this-&gt;locale;

By Code:

$this-&gt;notifyurl = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment='.$this-&gt;name.'&amp;tmpl=component&amp;order_id='.$order-&gt;order_id.'&amp;lang='.$this-&gt;locale.$this-&gt;url_itemid;

So it will continue to pass the Joomla menu ID to the different parts of the notification system so the final "after_end" generated URL will be SEF with a menu ID.

Regards,

---

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

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

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

[](#top)
