File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3535 <p >
3636 -
3737 { if $currencies |@count > 1}
38- { l s= ' We allow several currencies to be sent via MyMod Payment.' mod =' prestapaystack' }
38+ { l s= ' We allow several currencies to be sent via MyMod Payment.' mod =' prestapaystack' }
3939 <div class =" form-group" >
4040 <label >{ l s= ' Choose one of the following:' mod =' prestapaystack' } </label >
4141 <select id =" currency_payment" class =" form-control" name =" currency_payment" >
7878 <input class =" btn btn-default pull-right" type =" button" name =" save_settings" id =" paystack_button" value =" Pay Now" />
7979
8080 { else }
81- <script
81+ <script
8282 src =" https://js.paystack.co/v1/inline.js"
8383 data-key =" { $key } "
8484 data-email =" { $email } "
8585 data-amount =" { $total_amount *100} "
86+ data-currency =" { $currency -> iso_code } "
8687 data-ref =" { $code } " >
87- </script >
88+ </script >
8889 { /if }
8990
9091 </form >
102103 key: ' { $key } ' ,
103104 email: ' { $email } ' ,
104105 amount: ' { $total_amount *100} ' ,
105- currency: ' { $cart_currency } ' ,
106+ currency: ' { $currency -> iso_code } ' ,
106107 ref: ' { $code } ' ,
107108 callback: function(response){
108109 $( " #paystack_form" ).submit();
You can’t perform that action at this time.
0 commit comments