PDA

View Full Version : Tutorial on Setting Up PayPal IPN for osCMax v2.0/v1.7



uli_nyc
10-08-2005, 11:06 AM
Hi,
just installed a brandnew version of osCMax v2.0 RC2 - yet I am wondering if anyone could put together a quick tutorial on how to setup/configure the PayPal IPN credit module, assuming that it is the same for v1.7 and v2.0. There are a bunch of threads out there, but none really puts it all together. I am also wondering if I should use the installation instructions contained in contribution PayPal_Shopping_Cart_IPN_v3.1.5 to get started. even though that module is already part of osCMax v2.0 RC2?


http://www.oscommerce.com/community/contributions,1753
(PayPal_Shopping_Cart_IPN_v3.1.5)
http://oscdox.com/index.php?name=PNphpBB2&file=viewtopic&t=5312
http://oscdox.com/index.php?name=PNphpBB2&file=viewtopic&t=5579
https://www.paypal.com/cgi-bin/webscr?cmd=_ipn-test-about-outside

Thanks in advance.

Uli

Suggested Setup Procedure should cover....
1. PayPal
1.1 PayPal Developer Signup
1.2 Sandbox Setup and Testing Keys
1.3 Issues to look out for/hacks necessary
1.4 Anything else?

2. osC Max v1.7/v2.0
2.1 Configuration of PayPal Module
2.2 Issues to look out for/hacks necessary
2.3 Anything else?
2.4 Switching from Sandbox to live environment

Jonthebest
10-08-2005, 11:53 AM
I totally agree with you, a tutorial would get rid of a lot of headaches.

Here is something that might help: http://helpdesk.lunarpages.com/faq.php?do=article&articleid=412

It needs to get much more detailed and complete to let all n00bs (including me) use paypal IPN.

Thang422
10-08-2005, 05:55 PM
I agree !, I really would like to know how to set it up.

michael_s
10-08-2005, 07:11 PM
Here is the beginnings of a document for setting it up in osCMax 1.7:
http://oscdox.com/modules.php?op=modload&name=phpWiki&file=index&pag ename=PayPalIPNMac

Setting it up in v2.0 is slightly different than 1.7 (mainly on the osCMax side), but overall both are very simple to set up really. The mod in v2.0 is less quirky than the one in v1.7 too...

Creating a document for this in the wiki should not be too hard, it is just a matter of carving out some time to do it.

uli_nyc
10-09-2005, 04:44 PM
The following instructions provide step-by-step instructions on how to get PayPal IPN to work with osCMax v2.0 RC2. Four things need to be accomplished to get it to work:

[1] generating a public/private key to encrypt transmissions between osC and PayPal; this is done with OpenSSL
[2] creating an account at PayPal that serves for your live store (paypal.com)
[3] creating a developer account at developer.paypal.com that allows you to test transactions via the Sandbox
[4] configuring osCMax v2.0 to work with the Sandbox, and later with the live PayPal account

Thanks to Jonthebest and Michael for their pointers. These instructions are based on two tutorials, both of which are straightforward. I just added additional comments and streamlined the instructions for configuration with osCMax v2.0
http://helpdesk.lunarpages.com/faq.php?do=article&articleid=412
http://www.devsource.com/article2/0,1895,1724635,00.asp

Thang422
10-10-2005, 10:07 PM
wow thanks guys !!!!!

michael_s
10-11-2005, 09:09 AM
I have added this to the osCMax Guide, and I am still cleaning up the formatting, but you can find it here:

http://wiki.oscdox.com/setting_up_paypal_ipn_in_oscmax_2.0 (http://www.oscdox.com/modules.php?op=modload&name=phpWiki&file=index&pag ename=PaypalIpnOscmax)

Great work on creating such an easy to follow guide!

uli_nyc
10-15-2005, 10:52 AM
Just to let you know that the tutorial formatting has been cleaned up, and any obvious ambiguities were remedied. Should be straightforward now.

http://wiki.oscdox.com/setting_up_paypal_ipn_in_oscmax_2.0 (http://www.oscdox.com/modules.php?op=modload&name=phpWiki&file=index&pag ename=PaypalIpnOscmax)

Enjoy.
Uli