PDT Return URL passes data only if user waits Click Here link passes none.

mannyhere123
Contributor
Contributor

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?

 

 

Login to Me Too
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.