SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Guru D-flyer's Avatar
    Join Date
    Jan 2001
    Location
    Near a computer
    Posts
    782
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simpel paypal question I think?

    I trying to set up a simple buy now button (from paypal) for just one product.

    Everthing seem to be easy except I don't see a cancel button??

    so
    Code:
     <input type="hidden" name="return"
     <input type="hidden" name="cancel_return"
    don't work.

    Should I alter my settings?

    Tips, examples?

    Kind regards

  2. #2
    SitePoint Addict paypalrb's Avatar
    Join Date
    Jan 2005
    Location
    San Jose, CA
    Posts
    265
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The "return" variable is for a URL to use after a successful payment. The "cancel_return" variable is for a URL to use if the customer cancels the payment. You will not see a Cancel button on the first PayPal page, but you will see one after you log in or continue to the Account Optional checkout process.
    Sell more worldwide!
    PayPal Website Payments Pro and Virtual Terminal
    now support 6 currencies and 174 countries

  3. #3
    SitePoint Guru D-flyer's Avatar
    Join Date
    Jan 2001
    Location
    Near a computer
    Posts
    782
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    aah thnks, I will try that.

    Is there a way to make a "fake" purchase to test if things are working allright???

  4. #4
    The I's for intelligent silver trophy iTechno's Avatar
    Join Date
    Jan 2006
    Location
    Yorkshire, UK
    Posts
    1,796
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by D-flyer
    aah thnks, I will try that.

    Is there a way to make a "fake" purchase to test if things are working allright???
    I'm pretty sure it will, Ask a friend to test it out, cancelling at the last minute.

  5. #5
    SitePoint Addict paypalrb's Avatar
    Join Date
    Jan 2005
    Location
    San Jose, CA
    Posts
    265
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, if someone cancels before completing the purchase, they won't be charged and they can tell you if they were sent to the correct URL.

    You can also test payments using PayPal's Sandbox. You would need to create a Sandbox account and create test Business and customer accounts within the Sandbox in order to do the testing, but you can then use your existing payment button HTML code and just change the form destination and the business email to redirect it to the Sandbox.

    To access the PayPal Sandbox, go to sandbox (dot) paypal (dot) com.
    Sell more worldwide!
    PayPal Website Payments Pro and Virtual Terminal
    now support 6 currencies and 174 countries


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •