Search the Community
Showing results for tags 'paypal button'.
Found 3 results
Hi Larry, I am trying to adapt your classic PayPal guidance to make a simple one-time payment from a website. First, PayPal seems to have changed its button creating directions as I can't see any "Merchant Services" tab as per your guidance on page 157. In fact I cannot log in at all to the sandbox using the test business account that I set up. The website owner has a production PayPal business account and it was via that that I was able to create the test business and personal accounts as per page 156-157. I was however able to create a production button via "My Selling Tools" and then change the code to direct to the sandbox as per your advice on page 159. However, I have a specific question re point 10 on page 159, re the cancel and thanks URLs. In the website to which I want to add the simple one-off payment capability, I have used your site design as per your PHP Advanced book where all accesses to modules go through the index.php module (page 44 onwards of that book). So can I simply use "HTTPS://www...etc/index.php?p=thanks and ....?p=cancel where they will be redirected to the appropriate thanks and cancel modules? All other accesses to modules go through HTTP://www...etc/index.php(i.e., without the "S" of the required HTTPS for these PayPal redirections)? Sadly I cannot use Stripe for this website owner:-( I do not have a security certificate for this website. Thankyou in anticipation, and Cheers from Oz.
I thought I would post this in case it benefited others. Problem: I tried several times to create a PayPal button in the sandbox. Each time, the generated code did not contain any reference to the sandbox; it always generated code for a "live" site. This was even the case when I walked through the process on the phone with PayPal tech support. Naturally, then, there way no way to test the PayPal payment functionality and I got all sorts of errors. Root Cause: Not entirely sure, but it's something on the PayPal side when you go to create the button in the sandbox. Solution: I worked with a different tech support person for this strange work-around that did work. In short, you have to NOT go to the "Merchant Services" tab, but get to the button creation a different way. Steps: Log into Developer website (using your "official" account, not any sandbox accounts you created) Create a new Business Type account in sandbox (This actually failed for me the first time. I got an "We're sorry but something went wrong.Please delete this account and try again" error. It worked the second time.) Click on "Enter Sandbox Site" and login as the Business Type user you just created. Hover over Profile Link. Click on My Selling Tools. (The tech said I might see something in this drop down menu referring to "PayPal buttons" but I didn't.) Click on PayPal butons -> Update Click on "Sample Subscription Button" -> Action -> Create new button Create the button in line with Ullman's instructions in Chapter Six. The resulting code should have "..www.sandbox.paypal..." in it. Good luck!
I am trying to test a subscription purchase using the PayPal sandbox button as described in Chapter Six with no luck. I just spent an hour with PayPay tech support and they said that the problem is that my localhost is set to "live" and not "test" and therefore the PayPal button will not work with a sandbox. I'm using XAMPP on my MacBook Pro. Steps I've taken: - Created sandbox account - Logged into sandbox - Created button in sandbox (note: the button code does NOT contain any reference to "sandbox"; I expected that it would based on Chapter 6) - Pasted button HTML into register.php - Logged in to my localhost site - Pressed the button - I am NOT taken to a sandbox PayPal location; I am taken to www.paypal.com/cgi-bin/webscr PayPal tech support says that I need to go into my localhost settings and change something from "live mode" to "test mode". I assume I'm missing something stupid... Help or advice? THANKS!