corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP integration with PayPal or Google Checkout » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

ed

posted on 1st Dec 09 at 17:43

There's even a wizard on there if you care to look:

https://www.paypal-labs.com/integrationwizard/ecpaypal/main.php

Also try:

http://www.x.com/


ed

posted on 1st Dec 09 at 17:38

The Paypal API will return a GET or a POST telling you the status of the query. I forget which one, but it does say in the instructions.


xa0s

posted on 1st Dec 09 at 17:18

quote:
Originally posted by Sam
This help?

PayPal Button Generator

Nope, that's just standard really.

Right now they pay and it takes them to a page saying thank-you, but how does my website tell that they've paid successfully so I can do the SQL changes? :| I can't find out anywhere, seriously annoying me.


Sam

posted on 1st Dec 09 at 14:30

This help?

PayPal Button Generator


xa0s

posted on 1st Dec 09 at 13:44

It's gotta be easier than that, I've seen tons of websites do you. You just click 'Buy Now', pay, it directs you back and your account is instantly upgraded. I just can't seem to make sense of the instructions on PayPal's site, there's like 10 different options to choose from and none sound like that I need. It's proper confusing.


Ian

posted on 30th Nov 09 at 21:05

Depending on how the transaction is confirmed, you may also be able to have them send you an email which you can direct to a dedicated box which your PHP can check.


ed

posted on 30th Nov 09 at 20:58

Have a read of the Paypal API instructions, last I read it seemed pretty simple and could be implemented using a touch of PHP and Javascript. I'm sure Google Checkout is the same and has a good API :)


xa0s

Icon depicting mood of post posted on 30th Nov 09 at 20:55

I've never done this before but basically I need to offer a subscription package on my website. They need to be able to click 'Buy Subscription' which directs them to the PayPal site with a fixed price and subscription duration. They pay and it should re-direct them back to my site and once it's confirmed it should they update their entry in the database.

It sounds simple, and should be, but I'm really struggling. I can do all the stuff except the integration with PayPal or Google Checkout. The instructions seem quite difficult to read and I really can't make any sense of it.

For example, there's like 10 different button choices for PayPal and none of the instructions explain what to do regarding confirming a order and then doing a action.

To be honest, I'd probably prefer it if they could buy a subscription and then it would give them a code so they can use it or give it to a friend. When entering the code into my website it would need to check whether it's valid and then do the action.

Has anyone got any idea on how I could do this? If it's a lot of work I could possibly pay someone to help me add this to my site.