Jump to content


How to interact with mysql?

  • This topic is locked This topic is locked
1 reply to this topic

#1 Balbi



  • Members
  • Pip
  • 3 posts

Posted 10 December 2002 - 07:06 AM

Hi everyone, and sorry for this question! I'm italian and don't understand very well technical english language.
I've built a single button, that sends data to Paypal. Ok.
Then Paypal sends again those data to my server, where is the IPN script that processes the array and sends again to Paypal server. Is this right?
Then the paypal server answers again with a verified or not verified. This answer will come in my server to the same script I listed upside?
And where have I to put the code that passes those data to mysql?
Thank you very much for your help!


#2 paypal_pb


    Advanced Member

  • Members
  • 2,960 posts

Posted 10 December 2002 - 10:01 AM

Put your code where it says "process payment" in the sample code (http://www.paypal.co...pn-code-outside):

For example:

elsif ($res->content eq 'VERIFIED') {
# check the payment_status=Completed
# check that txn_id has not been previously processed
# check that receiver_email is an email address in your PayPal account
# process payment

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users