| Project: | PayPal Buttons |
| Component: | Code |
| Category: | |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | patch (needs review) |
Jump to:
Description
Project:
uc_paypal_buttons When no success or cancel return urls are specified in the settings of this module, and the method used to initiate the paypal button process is via url (/uc_paypal_buttons/nid/quantity/aid/oid/aid/oid/...), the cancel and success urls default to the same (/uc_paypal_buttons/nid/quantity/aid/oid/aid/oid/...) url it came from.
This creates a loop, because when you go to that url, it goes back to paypal.
This patch addresses that by defaulting the success and cancel urls to the base url of the site, if one is not specified in the settings.
| Preview | Attachment | Size |
|---|---|---|
| uc_paypal_buttons_issue3.patch | 740 bytes |

