Shawn,
1 Please click js icon http://take.ms/rJ361
2 Please convert 'value' to string adding empty string to the value http://take.ms/Fnd7h
Shawn,
1 Please click js icon http://take.ms/rJ361
2 Please convert 'value' to string adding empty string to the value http://take.ms/Fnd7h
ok evgene
thats similar to what I did ... Stripe needs it in hundreds of units so need to multiply it with 100
return ''+Math.floor(value*100);
and that seemed to have worked.
the only side effect I now get is a constantly rotating ajax wait spinner
Maybe its due to my code in payment received where I am calling a set of services without 'try' 'catch' blocks ... and not waiting for them to finish ?
function PaymentReceived()
{
toast("Payment Received. Thank You.") ;
Code: Select all
localStorage.setItem('pymt_success',true) ;
booking_update_service.execute();
localStorage.setItem('txn_booker','yes') ;
create_txn_service.execute() ;
localStorage.setItem('txn_booker','no') ;
create_txn_service.execute() ;
localStorage.setItem('txn_booker','yes') ;
Code: Select all
pymtbooking_read_service.execute() ;
}
Shawn,
This is correct and should work. Could you please clarify, is it working for you?
Shawn,
In your method 'transitServices' you show loader
pre$('.ui-loader').show(); /pre
but there isn't place where you turn it off.
Awesome Evgene !
Yes I bypassed the degfault Stripe after payment screen and missed this. Thx