Auto redirect credit card user to site after payment

svnlabs
Contributor
Contributor

Hello,

 

I have a problem on my Pay Per Video Site ....

 

I am using paypal form ...

 

<form action="<?php echo $paypal_link; ?>" target="_top" method="post" name="payPalForm">
<input type="hidden" name="business" value="<?php echo $var3;?>">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="<?php echo $var1; ?>">
<input type="hidden" name="item_number" value="<?php echo $id."|".$var2; ?>">
<input type="hidden" name="amount" value="<?php echo sprintf("%01.2f", $var4); ?>">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="currency_code" value="<?php echo $currency; ?>">
<input type="hidden" name="handling" value="0">
<input type="hidden" name="rm" value="2" >
<input type="hidden" name="cancel_return" value="<?php echo $siteurl; ?>cancel.php?ret=<?php echo base64_encode(urlencode($host)); ?>">
<input type="hidden" name="return" value="<?php echo $siteurl; ?>success.php?ret=<?php echo base64_encode(urlencode($host)); ?>">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

 

When customers pay using paypal they easily redirected to website ... but if someone pay from credit card .. they have to click on link to redirect back to website ....

 

I have enabled auto return in paypal settings already .... 

 

Please help 🙂

 

 

Thanks

Login to Me Too
3 REPLIES 3

snowshoe
Frequent Advisor
Frequent Advisor

This behaviour is by design, unfortunately if a customer pays as guest, meaning they don't have a PayPal Account, after they complete the checkout process, PayPal will offer them opportunity to either open a PayPal Account or click on the link to return them to your web site.  They "must" click on the link in order to return to your web site.   This is normal for Payments Standard (there's no features or options to make it work any differently.)

 

If you want the customer to remain on your web site for the checkout process, you have two options.  Either switch to Payments Pro or Advanced.

 

With Pro, you control the customer checkout experience as they are not redirected to the PayPal Checkout Screens as Standard does.

 

With Advanced, the customer also remains your web site.  What happens is that they do checkout on the PayPal Screens however, it's thru a window or frame on your web site.  This provides the appearance of remaining on your site during the Checkout process.


With both Pro and Advanced there are additional monthly costs as well as the transaction processing fees.

Pro is $30 a month, Advanced is $5 a month.  Both products require additional coding skills and API knowledge verses Standard.

Login to Me Too

svnlabs
Contributor
Contributor

Thanks,

 

I have another question....

 

I am using same paypal form ... I already enabled 

 

Auto Return is set to ON
I have specified a Return URL
Payment Data Transfer is set to ON

 

But I am not getting "tx" return variable on payment success page .. when trying to pay from paypal.com email account   😞

 

whereas it return variables in sandbox.paypal.com

 

Array ( [tx] => 4X145306Y5470421D [st] => Pending [amt] => 5.00 [cc] => USD [cm] => [item_number] => 789 )

 

Help .. what is missing??

 

Regards. 

 

 

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Suggest trying either Tech Support, the Developer's Forum or both.

 

https://ppmts.custhelp.com/app/home

 

http://stackoverflow.com/questions/tagged/paypal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.