Jump to content

[SOLVED] Mysql update before redirect to paypal


unknown1

Recommended Posts

Having an issue updating database before redirect to paypal.

I'm not even 100% sure if what I'm doing is possible or if it's the correct way to go about it...

I was hoping that someone who knows a little better could advise me on the best way to go about this.

 

I have a form with one paypal buy now button, one subscription button and just a regular button.

I'm trying to put conditions on the submission before the action is preformed.

e.g.  If users wants a featured listing they click the paypal buy now button and once clicked an update goes to the database before it's redirected to paypal. When I try this I just get redirected without update... no errors just seems like it's not reading the php before the redirect or something.

 

Can anyone tell me how I would go about doing this?

I looked into the IPN option but seems to be a lot of effort for just  one buy now button and one subscription button.

 

Thanks in advance!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.