Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

recuring paypal payments


Guest

Recommended Posts

I'm working on seting up a Webhosting shop i wil use paypal as the only payment option.

I wil sel hosting solutions based on monthly recuring payments.

In the same shop i wil have products wich just is a ontime payment thing like Domain names..

anyone got a good solution to the problem ??

Stig

Link to comment
Share on other sites

  • 5 weeks later...
I'm working on seting up a Webhosting shop  i wil use paypal as the only payment  option. I  wil sel hosting solutions based on monthly recuring payments.

 

You may wish to see this thread (see link below), and it's links, for further considerations and detailed information as well:

http://www.oscommerce.com/forums/viewtopic.php?t=50197

 

Hope this helps (a little). :)

DTOM - mmm' k

Link to comment
Share on other sites

  • 1 month later...

Here's a simple fix to have recuring fee going. First of all this is not a fix for everything but it's a start. If you only have one fee that needs to be be charged every month then this is the simple fix for you.

 

First download Paypal IPN v0.981 for Milestone 2. Modify catalog/checkout_paypalipn.php file at the very bottom where the https://www.paypal.com URL is. The below setup charges a fee every 1 month. You can modify this to what ever you want.

 

Modify from:

 

tep_redirect("https://www.paypal.com/cgi-bin/webscr?cmd=_...ect_cmd=_xclick."&bn=oscommerce-osmosis-0.981&return=".tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')."&cancel_return=".tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')."&notify_url=".MODULE_PAYMENT_PAYPALIPN_NOTIFY_URL);

 

 

Modfy to:

 

tep_redirect("https://www.paypal.com/cgi-bin/webscr?cmd=_...k-subscriptions."&bn=oscommerce-osmosis-0.981&return=".tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')."&cancel_return=".tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')."&notify_url=".MODULE_PAYMENT_PAYPALIPN_NOTIFY_URL);

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...