AutoReturn URL is not working with IPN API

RiderFx3
New Community Member

Hello,

 

AutoReturn URL is not working with IPN API.
I have checked AutoReturn URL radio button in settings

 

I pass a correct return input in my form : 

<form id="ajax_paypal_form" action="<?php echo PAYPAL_URL; ?>/cgi-bin/webscr" method="POST"
style="display:none;">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="Correction <?php echo APP_TAG . ' #' . $correction_id; ?>">
<input type="hidden" name="amount" value="<?php echo $_SESSION[APP_TAG]['prix']; ?>">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="business" value="<?php echo PAYPAL_MAIL; ?>">
<input type="hidden" name="image_url" value="URL vers ton logo">
<input type="hidden" name="return" value="<?php echo $return_domain; ?>?commande=valide">
<input type="hidden" name="cancel_return" value="<?php echo $return_domain; ?>?commande=echec">
<input type="hidden" id="notify_url" name="notify_url"
value="<?php echo DOMAIN; ?>index.php?c=Correction&a=confirmPayPal&fac_id=<?php echo $fac_id; ?>&processeur=paypal">
<button type="submit">go</button>
</form>

 

After payment, I have to click on a button to come back on my store.
The return URL is good i am well redirected after the click.
But I don't want to add an extra click for my customers... 

 

Thanks for the help

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.