Redirection to PayPal not working
deje
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-04-2016
05:53 PM
The following routine does not redirect to PayPal:
Snippet
function RedirectToPayPalDG ( $token ) { global $PAYPAL_DG_URL; // Redirect to paypal.com here $payPalURL = $PAYPAL_DG_URL . $token; echo 'url='.$payPalURL . $tokenL; header("Location: ".$payPalURL); exit; }
Here is the value of the echo:
url=https://www.sandbox.paypal.com/incontext?token=EC-77041592TS907273M
If I copy the URL to a browser window, I am taken to a PayPal payment page. Try it.
I would appreciate a resolution to this issue.
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Waiting for pending deposit from family who used pp credit card to send me $$$$$$ in About Payments (Archive)
- Paypal Express Checkout work locally, but not working on server in About Payments (Archive)
- Received payment from eBay customer, PayPal balance is zero! in About Payments (Archive)
- Instant Transfer Option for Payments? in About Payments (Archive)
- Hey guys! Need your help to understand why i can't access my account in About Settings (Archive)