Web Design and Web Development Forum

  1. #1
    Join Date
    Nov 2005
    Location
    Chicago
    Age
    23
    Posts
    96
    Rep Power
    7
  2. JordanF98765 is on a distinguished road
  3. PayPal IPN needs testing

    I have an IPN scrit for my new site. PayPal is configured to use it, and I ust need to test and debug it.

    Right now i've typed code to handle:

    new payments, holds placed in the event of a complaint, refunds and when i send money.

    Is anyone willing to help me test this by sending a few small payments through my website (2-6$) that will get refunded?

    THanks,
    Jordan
    I killed Schrödinger's cat.
    Young Coders RSS Feed Widget for Konfabulator
    HTML ■■■■■■■■■■ CSS ■■■■■■■□□□ PHP ■■■■■■■■■■ XML ■□□□□□□□□□
    Reply With Quote Reply With Quote
  4. #2
    darkecho's Avatar
    Join Date
    Aug 2005
    Location
    Michigan... USA
    Age
    23
    Posts
    2,337
    Rep Power
    9
  5. darkecho is on a distinguished road
  6. Re: PayPal IPN needs testing

    Use the paypal sandbox to do this.
    https://developer.paypal.com/

    You will need to resignup for this. As its "paypal" except nobody actually gets charged. I when it worked for the sandbox it worked for the real version. Same with not working. Infact I have like $2,800 in my sandbox account from testing.
    Reply With Quote Reply With Quote
  7. #3
    gorda001's Avatar
    Join Date
    Jun 2005
    Location
    <0x79a3f6>
    Posts
    4,851
    Rep Power
    11
  8. gorda001 is on a distinguished road
  9. Re: PayPal IPN needs testing

    If only that money was real... :p

    Thanks for that. I've been looking for something like that too
    Reply With Quote Reply With Quote
  10. #4
    darkecho's Avatar
    Join Date
    Aug 2005
    Location
    Michigan... USA
    Age
    23
    Posts
    2,337
    Rep Power
    9
  11. darkecho is on a distinguished road
  12. Re: PayPal IPN needs testing

    Also make sure that the "payment_status" was "Complete" and not "Pending". Since sometimes it gets the money from a bank account or credit card payments are not always instant.
    Reply With Quote Reply With Quote
  13. #5
    gorda001's Avatar
    Join Date
    Jun 2005
    Location
    <0x79a3f6>
    Posts
    4,851
    Rep Power
    11
  14. gorda001 is on a distinguished road
  15. Re: PayPal IPN needs testing

    OK, so I've got a sandbox account - now what? Does the sandbox act as the client, should it go on the server or do I need two accounts for both client and server?
    Reply With Quote Reply With Quote
  16. #6
    darkecho's Avatar
    Join Date
    Aug 2005
    Location
    Michigan... USA
    Age
    23
    Posts
    2,337
    Rep Power
    9
  17. darkecho is on a distinguished road
  18. Re: PayPal IPN needs testing

    In the sandbox area you create 2 accounts. Account 1 would be the one that gets payed. Make it a business account. Account 2 is the normal user that pays.

    In order to use the sandbox when testing you do need to be logged into the developer central. (main place you login to).

    Instead of posting your data to
    Code:
    https://www.paypal.com/cgi-bin/webscr
    you post it to
    Code:
    https://www.sandbox.paypal.com/cgi-bin/webscr
    From there it works like normal paypal except you use these 2 fake accounts you created.
    Reply With Quote Reply With Quote
  19. #7
    Join Date
    Oct 2006
    Location
    Fairfield, CA
    Age
    21
    Posts
    206
    Rep Power
    6
  20. aliasxneo will become famous soon enough
  21. Re: PayPal IPN needs testing

    @gorda001

    You may want to read this article I posted. It covers the Paypal sandbox and setting up a basic script that uses IPN.
    Reply With Quote Reply With Quote

Similar Threads

  1. Integrating PHP and Paypal
    By aliasxneo in forum PHP Articles
    Replies: 11
    Last Post: 11-21-2007, 07:31 PM
  2. Yet another Paypal Email fraud
    By Hypnotic in forum Computer Corner
    Replies: 7
    Last Post: 05-05-2006, 10:42 AM
  3. Fruad PayPal Email's - IMPORTANT
    By Shaun in forum Computer Corner
    Replies: 4
    Last Post: 11-20-2005, 07:18 PM
  4. Paypal, IPN and SQL insert
    By Logan in forum PHP Scripting
    Replies: 9
    Last Post: 08-22-2005, 08:31 AM