javascript - Why does my checkout button not work all of a sudden? -
i have app have been developing, used work until recent changes.
i ran bundle update, , bunch of gems updated. since (or around time) checkout process doesn't work , can't figure out causing issue.
i don't have errors in development.log file , no errors in js console.
you can check out the site here.
for login credentials, use: abc@test.com/testing123 (where email user, , latter pw).
add item cart, go through checkout process.
enter fake credentials, , use credit card number: 4111111111111111 (verification number can 3 digit number, expiry date after today).
once click checkout, see form isn't submitted.
for life of me, can't figure out why.
would love hear thoughts on how may either further troubleshoot or tell me causing this.
thanks.
p.s. isn't heroku issue - have problem locally too. using piggybak shopping cart gem, , gem maintainers have not been able replicate error on end. further flummoxed :(
i followed instructions , got error on clicking 'create order'.
sjsonp1369201390573({ "error": { "message": "the 'exp_year' parameter should integer (instead, undefined).", "type": "card_error", "param": "exp_year", "code": "invalid_expiry_year" } } , 402) this not coming in js console. instead app creating additional js script file like:
https://api.stripe.com/v1/tokens?card[number]=undefined&card[cvc]=undefined&card[exp_month]=undefined&card[exp_year]=undefined&key=pk_u0e6vmzpgdjlymylqr83lcahmtl5e&callback=sjsonp1369201390573&_method=post even though error seems straight-forward, since have not used ajaxq or other piggyback js system, guess need step through program catch exception.
hth.
Comments
Post a Comment