Jump to content

I really need help, I've had this problem for months now, and I want help please


MasterACE14

Recommended Posts

http://www.phpfreaks.com/forums/index.php/topic,149302.0.html

 

I have some new information on the problem which may assist people in helping me.

 

when I set the paypal url like this(paypal sandbox to test it):

$p->paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';   // testing paypal url

 

The IPN Validates successfully, but my function still isn't executed.

 

but when I set the paypal url like this(the real deal):

$p->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';     // paypal url 

 

it fails.

 

I am dieing for some help. any suggestions what so ever are appreciated, can someone PLEASE, PLEASE help! I will GREATLY appreciate it!

 

Regards a very desperate ACE

Link to comment
Share on other sites

(im not sure how you do it)

but you have to authenticate with the paypa server.

 

When I do this and take the code it gives me about 9 lines of html code iwth hidden fields and such just to do it...

when I tried to translat this into php I found that you need to make a post request to the paypal server, and not just a string request.

Link to comment
Share on other sites

I believe the code you guys are talking about is the paypal HTML button in "Merchant Tools" ?

see if I did it that way, the payment goes like so.

 

my website => paypal => success or cancel page

 

My function that runs is to upgrade the persons account to paid member. See if I did it with the HTML button, they could just put http://www.mywebsite.com/success.php and it would run the query every time they do it, thats why I am using a IPN script so it makes sure they have paid first before giving them member status.

Link to comment
Share on other sites

ive got a better way!

 

when you pay with paypal to upgrade, have paypal send an extra query, which you encryp, which tells a script on the return page to send an email with a password to the person who just paid.  and in the email have a link that goes to a crazy encrypted URL which runs the database query to upgrade.

 

i think its a cool idea.

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.