Hi Ron,
Please check our new Version 1.4. This will solve your problem.
Thank you!!
ZealousWeb
Hi ZealousWeb ,
I have face this same problem.
I am Using 1.4 Version and my submit button code is:
<p><input type=”submit” value=”Submit” class=”wpcf7-form-control wpcf7-paypalsubmit classbtn classbtn-success” id=”forms_field_86″ onclick=”returnURL(“https://www.paypal.com/us/cgi-bin/webscr?cmd=_xclick&business=emailaddress%40gmail.com¤cy_code=USD&return=http%3A%2F%2Fmysitename.com%2Fgift-vouchers&cancel_return=http%3A%2F%2Fmysitename.com%2Fgift-vouchers¬ify_url=http%3A%2F%2Fkinsalegourmetacademy.com%2Fgift-vouchers”,”amount”,”Name”,”value”);”></p>
But from is not going for paypal.
Please help.
Thanks
Hello Tarun,
Please use below given code in your form and check if is working,
————————————————————————————–
<p>Item name
[text itemname id:itemname] </p>
<p>Item amount
[text itemamount id:itemamount] </p>
<p>[paypalsubmit class:paypalbtn email:[email protected] itemamount:itemamount itemname:itemname return_url:http://mysitename.com cancel_url:http://mysitename.com “Pay With PayPal”]</p>
————————————————————————————–
If you find any issue, please respond with url of the Contact Form 7 page.
Thank you!!
ZealousWeb
Thanks ZealousWeb for reply.
I Use this code as it is and it works.
But, next time For amount field, I use
[number itemamount id:itemamount]
and it stop going to paypal. If I use Text field instant of number than it works.
Does any other method for use number Type field For amount ??
Please see this URL : http://kinsalegourmetacademy.com/gift-vouchers/
I Try These two Fields::
[number* itemamount id:itemamount “30”] : Not Work
[text* itemamount id:itemamount “30”] : Works
All other fields I keep same every time of Test.
Thanks.
Tarun Paliwal
Hi ZealousWeb,
plz update this issue in next Version of plugin. Currently
I found the solution of using number field. we use number field to make amount dynamic and validate.
But Form does not go for Paypal.
Solution:
On Line Number : 75 in plugins/contact-form-7-paypal-extension/contact-form-7-paypal-extension.php
if(type == ‘text’){
amount = jQuery(‘#’+itemamount).val();
} else
amount = jQuery(‘#’+itemamount+’ :checked’).val();
}
Replace with
if(type == ‘text’){
amount = jQuery(‘#’+itemamount).val();
} else if(type == ‘number’){
amount = jQuery(‘#’+itemamount).val();
} else {
amount = jQuery(‘#’+itemamount+’ :checked’).val();
}
Now we can use the number field for amount.
Also do not forget to add id “itemamount” for amount field.
Thanks
Tarun Paliwal
Hi Tarun,
Thanks you showing your interest in our plugin. We have resolved this issue in Version 1.5.
Thanks,
ZealousWeb