Jump to content

Paypal subscription


Guest storagedump
 Share

Recommended Posts

Guest storagedump

i really like cubecart but its annoying for my business not to be able to do paypal subscriptions. i sell game servers, website hosting so i need people to be able to pay monthly. is there any way this can be done?

Link to comment
Share on other sites

Guest storagedump

This working information is how to get paypal subscription payments in paypal for CC2. is ther any page like secure.php where i could do this to cubecart 3

In secure.php, change line 372:

CODE

<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">

to:

CODE

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

In secure.php, below line 372 (same as above line), add the following lines:

CODE

<input type=\"hidden\" name=\"a3\" value=\"$payable\">

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

You might need to change these values, based on the type of subscription you are setting up. To check what values you need, you should go into your PayPal account and set up a subscription product. After you set it up, you will be given a string of code (much like the above code) to use for the subscription button. Check the values and names of the code you receive with the code above (and with the other paypal code used in your secure.php file).

Link to comment
Share on other sites

  • 2 weeks 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
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.

 Share

×
×
  • Create New...