I use IWD OPC and the module pay with stripe, but this is not working. When I click on "place order", it is showing loading, but nothing is happening after that.

You can check the issue on growerline.com

Have any idea for fix this?

  • it seems this is javascript error. You have take invalid element for stripe. You can check and debug error using firebug. – Jaimin Parikh Jul 13 '16 at 10:25
  • @JaiminParikh, do you fix this for me by payment? – Daniele Jul 13 '16 at 10:35

You have to use

var cvcValue=$('stripe_cc_cid').value; 

instead of

var cvcValue=$('stripe_cc_cvc').value; 

in you js.

Also you can refer @https://stripe.com/docs/custom-form for create stripe token.

  • Very thanks, where I can change it? Thanks a lot for your support! – Daniele Jul 13 '16 at 13:13
  • Maybe in skin/frontend/base/default/js/iwd/opc/checkout.js ? – Daniele Jul 13 '16 at 14:13
  • yes, you can change it form checkout.js – Jaimin Parikh Jul 14 '16 at 4:58
  • I edit this but the issue persist. – Daniele Jul 14 '16 at 10:46
  • You have also take wrong ids for month and year in js. Please use var exp_monthValue=$('stripe_expiration').value; var exp_yearValue=$('stripe_expiration_yr').value; ..... It will resolved your issue and make sure all element ids which you take in js is proper – Jaimin Parikh Jul 14 '16 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.