PDT Return URL passes data only if user waits Click Here link passes none.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
So I want to use PDT. I have a return URL set on my paypal account, auto redirect is active. I am using a forum to process my payment this is what it is sending:
// All the standard bits.
$return_data['hidden']['business'] = $modSettings['paypal_email'];
$return_data['hidden']['item_name'] = $sub_data['name'] . ' ' . $txt['subscription'];
$return_data['hidden']['item_number'] = $unique_id;
$return_data['hidden']['currency_code'] = strtoupper($modSettings['paid_currency_code']);
$return_data['hidden']['no_shipping'] = 1;
$return_data['hidden']['no_note'] = 1;
$return_data['hidden']['amount'] = $value;
$return_data['hidden']['cmd'] = !$sub_data['repeatable'] ? '_xclick' : '_xclick-subscriptions';
$return_data['hidden']['return'] = $boardurl . '/thankyou.php';
$return_data['hidden']['a3'] = $value;
$return_data['hidden']['src'] = 1;
$return_data['hidden']['notify_url'] = $boardurl . '/subscriptions.php';
When a payment is made if a user waits to be redirected it works fine. If they do not wait and click the CLICK HERE link where it says please wait 10 seconds or click here the thank you page has no data. Anyone know why?
- Labels:
-
Carts
-
PayPal HTML Buttons
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How do you dynamically pass an item name through an 'add to cart' button? in Sandbox Environment
- Sending addtional information aout payment to API Session in REST APIs
- How do i pass a customer ID number in the transaction in Sandbox Environment
- Passed sandbox development test_stuck in real account payment test_ in REST APIs
- The token passed in was not found in the system in REST APIs