Jump to content

Paypal - Pay and get reply to webserver.


webbhelp

Recommended Posts

Hi!

 

I have been on the paypal website a lot but I can't find what I am looking for.

I trying to find some API so I can show Paypal links on every page I generate from mysql.

 

When the user press Paypal button, he/or she will be redirected to paypal.com with a form where a field with the ID, already is filled in.

So let's say I press Paypal button ,then a ID, to that page will be sent to paypal and when the user pay the money, a reply from paypal with the ID will come back and confirm the payment.

 

How can I get this to work?

 

I really hope you can help me with this!

Thanks!

Link to comment
Share on other sites

Hello,

 

You can do a google search for Paypal IPN or you can even search this forum.  This is a pretty popular topic.

 

On your site, you will have a button with some hidden fields, one of those will be a "custom" id.  When the button is pressed, that ID is sent to Paypal and waits for the user to submit a payment.  Upon the user submitting,  Paypal contacts your IPN.php page (or whatever you want to call it) and grabs the variables and updates your database.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.