PayPal checkout and PHP |
PayPal checkout and PHP |
tudsy |
Aug 4 2022, 03:48 AM
Post
#21
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
I am trying to process transactions using PayPal SDK. I also want to pass php variables to the PayPal code found on their (PayPal) website. Attached is process1.txt(php) which has the php and the paypal code for a paypal button inside. Any help will be appreciated. Thanks. Attached File(s) process1.txt ( 5.64k ) Number of downloads: 469 |
tudsy |
Nov 26 2022, 04:41 AM
Post
#22
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
Hi I have solved the problem of writing data to a database after the submit button is clicked on a form. <script type="text/javascript"> $(document).ready(function () { $("#submit").click(function () { $.ajax({ type: "POST", url: "process.php", data:{ Graphic: $('#pic').val(), Person: $('#Person').val(), Price: $('#Cost').val(), Age: $('#Age_of_Subscriber').val(), First_Name: $('#FirstName').val(), Last_Name: $('#SurName').val(), Email_Address: $('#Email').val(), } }) }); }); </script> Thanks. Adrian |
Lo-Fi Version | Time is now: 4th June 2024 - 10:00 PM |