Jump to content

PayPal URLs

Guest Steve.Thompson

Recommended Posts

Guest Steve.Thompson

I can't find in CubeCart, documentation, knowledge base or the forums, the definitive answer to the URLs required for PayPal IPN.

Need IPN URL and Website Return URL

Thanks, Steve.

Link to comment
Share on other sites

Guest Steve.Thompson

From the Knowledge Base article:

Return URL: If you want the customer to be returned to the store after purchase please go back to the “Profile†section of your PayPal admin control panel and click the link “Website Payment Preferencesâ€Â. Set “Auto Return†to “On†and enter the URL specified by CubeCart in the text box provided. “Payment Data Transfer†needs to be set to “Offâ€Â.

CubeCart does not specify the return url.

Then I did a bit of digging.

This applies to CC4.

Edit the file <store directory>/modules/gateway/PayPal/admin/index.inc.php

Towards the bottom of the file, find the following code:



<td colspan="2" align="left" class="tdText"><strong>IPN URL:</strong>

<?php echo $GLOBALS['storeURL']."/index.php?_g=rm&amp;type=gateway&amp;cmd=call&amp;module=PayPal";?></td>



<td colspan="2" align="left" class="tdText"><strong>Return URL:</strong>

<?php echo $GLOBALS['storeURL']."/index.php?_g=co&amp;_a=confirmed&amp;s=3";?></td>



Remove the comment characters <!-- and -->

Save the file.

Now CC will display the two PayPal URLs in the CC / Admin / Payment / PayPal screen.


Link to comment
Share on other sites

  • 1 month later...
Guest zenphilip

So all you need to do is put your email address in CC admin and away you go, and PP will return the customer to your thankyou page?

Link to comment
Share on other sites

Join the conversation

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

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