Hi all!
I'm really stuck. I've read probably all related posts here on forum, installed demo form with PayPal and I'm sure that I've done everything right. But it's just doesn't work.
I calculate amount to be paid in php part of form, and I'm passing value from php to form like this (Chronoform6):
But whatever I try, Paypal shows empty field for amount. This amount just not present. I checked with "debug" enabled, and I see that "amount" variable is not in URL-get quiery..
Both Chronoforms and Paypal plugin are validated for domain. Paypal in Sandbox testing mode, but I'm sure this should not affect, because when I put plain numbers to "amount" field, everything works as supposed to.
PLease, help! I need to complete this ASAP!
I'm really stuck. I've read probably all related posts here on forum, installed demo form with PayPal and I'm sure that I've done everything right. But it's just doesn't work.
I calculate amount to be paid in php part of form, and I'm passing value from php to form like this (Chronoform6):
$this->data[total_to_pay] = (int)$to_pay;In debugger I see this value between others, so the variable/value is there:
[total_to_pay] => 100I insert following line
{data:total_to_pay}to PayPal Redirect "amount" field, just like in demo form is done.
But whatever I try, Paypal shows empty field for amount. This amount just not present. I checked with "debug" enabled, and I see that "amount" variable is not in URL-get quiery..
Both Chronoforms and Paypal plugin are validated for domain. Paypal in Sandbox testing mode, but I'm sure this should not affect, because when I put plain numbers to "amount" field, everything works as supposed to.
PLease, help! I need to complete this ASAP!