The 'exp_month' parameter should be an integer

  • Posts: 344
  • Thank you received: 3
10 years 2 days ago #213309

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

How can I translate this pop-up window in the stripe payment form so that normal people can understand it ?

"The 'exp_month' parameter should be an integer (instead, is MM)"

It pop's-up when a customers clicks "submit payment" with out filling out credit card information.

Please Log in or Create an account to join the conversation.

  • Posts: 26272
  • Thank you received: 4044
  • MODERATOR
10 years 2 days ago #213314

Hi,

The error is not an error provided by our plugin but by Stripe itself.
If you want to see to translate it ; you should put your own JS code in the "stripe_end" view (using a manual view override) and perform a manual "translation" of the text before his display ; or contact Stripe.

	alert(response.error.message);
	$form.find(".payment-errors").text(response.error.message);

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum