Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'paypal button'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. 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.
  2. 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!
  3. 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!
×
×
  • Create New...