Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal IPN Subscription


sbizo

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?

Link to comment
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="[email protected]">

<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>

Link to comment
Share on other sites

  • 1 month later...
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?

Link to comment
Share on other sites

  • 4 weeks later...

There are any other (new) payment service, just like PayPal:

http://www.stormpay.com/?49608.

 

But still there is not contribution made for this.

 

Parikesit

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

  • 1 year later...
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

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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