Jump to content
Sign in to follow this  
sbizo

PayPal IPN Subscription

Recommended Posts

I am currently testing the PayPay IPN contribution. I would like to use the PayPal Subscription service. Has anyone done any modification or any ideas of how I can implement the Subscription service to this excellent contribution?

Share this post


Link to post
Share on other sites

Can you give more details on how you would like to utilize PayPal subscriptions with OSCommerce or the PayPal IPN contribution?


Patrick Breitenbach

Share this post


Link to post
Share on other sites

I have several services that I would like to charge the customer automatically for a recurring monthly fee or yearly fee after they signed up first time. Below is the code that was generated from PayPal homepage, but I don't know where to include this code into the PayPal IPN php-code. Appreciate for any suggestions. Thanks.

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_xclick-subscriptions">

<input type="hidden" name="business" value="order@sbizo.com">

<input type="hidden" name="item_name" value="Plan 50">

<input type="hidden" name="item_number" value="Plan 50 Monthly">

<input type="hidden" name="image_url" value="http://www.sbizo.com/images/sbizo.gif">

<input type="hidden" name="no_shipping" value="1">

<input type="hidden" name="return" value="http://www.sbizo.com">

<input type="hidden" name="no_note" value="1">

<input type="hidden" name="currency_code" value="USD">

<input type="image" src="https://www.paypal.com/images/x-click-but20.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

<input type="hidden" name="a3" value="8.95">

<input type="hidden" name="p3" value="1">

<input type="hidden" name="t3" value="M">

<input type="hidden" name="src" value="1">

<input type="hidden" name="sra" value="1">

</form>

Share this post


Link to post
Share on other sites

I need the same thing. I use paypal subscriptions so I can't use osc for my own site, but I do for my customers who don't have subscriptions. Did you figure this out?

Share this post


Link to post
Share on other sites

That HTML FORM will set up a recurring billing plan for the subscriber. PayPal will send you an email for each user who signs up. If you'd like to automate susbcription activation, use Instant Payment Notification: https://www.paypal.com/ipn


Patrick Breitenbach

Share this post


Link to post
Share on other sites
Can you give more details on how you would like to utilize PayPal subscriptions with OSCommerce or the PayPal IPN contribution?

 

8) I think what would be a nice feature would be to include the option of utilizing the Paypal Subscription Manager as a way of gaining access into OSCommerce as a store for members only. I have several sites I could use that feature on right now.

 

It is confusing for customers to subscribe and then to create an account again when inside the store, thinking they had already done so.

 

Is this a workable idea?

Share this post


Link to post
Share on other sites

Open the checkout_paypalipn.php, find the line with

tep_redirect("https://www.paypal.com/cgi-bin/webscr?

around line 281.

 

Here is what I did until I can work out the

p3=1&t3=Y&src=1&sra=1&

 

change

change cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick&

to

subscriptions/p3=1&t3=Y&src=1&sra=1&

 

Now if someone would like to help with that part.

 

-Al

Share this post


Link to post
Share on other sites
Open the checkout_paypalipn.php, find the line with
tep_redirect("https://www.paypal.com/cgi-bin/webscr?

around line 281.

Here is what I did until I can work out the

 

change

change cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick&

to

subscriptions/p3=1&t3=Y&src=1&sra=1&

Now if someone would like to help with that part.

-Al

 

 

I had the fix for this the other day but I am cannot find it at the moment. Hang on and I will see what I can do.

 

Dave


====================

Auction Lister Pro

eBay for osCommerce

====================

Share this post


Link to post
Share on other sites

Has anyone found a solution for Paypal recurring/subscriptions in Paypal? Thanks, AMc


Should I stay or should I go now? Thanks and goodbye Joe.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×