cancel
Showing results for 
Search instead for 
Did you mean: 

POST params not sent when redirected

Highlighted

POST params not sent when redirected

Hi all,

 

I´m running into an issue that I detected today. I have the following paypal button config :

 

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypalFormId">
         <input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="mybusinessID">
<input type="hidden" name="lc" value="DE">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="item_name" value="Studiotest Tageskarte">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="custom" value="somecustom infos needed in the redirection">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="return" value="myreturnUrl">
<input type="hidden" name="cancel_return" value="myCancelUrl">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="notify_url" value="myIPNUrl">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted"> <div class="row"> <button type="submit" class="btn btn-submit-next pull-right">Bestellung abschließen</button> </div> </form>

I didn´t change anything that could impact this code in the last days, nevertheless, redirection POST parameters are missing and redirection is a GET now and not a POST method anymore, even with the rm=2 !

 

Any idea, what´s going on ?

 

Best regards,

 

Antoine 

 

2 REPLIES
Moderator

Re: POST params not sent when redirected

Hey Antoine, to get the parameters in the redirection URL make sure that a valid returnURL is passed, like in your example, and that the business email variable is an account that has PDT enabled. You can check here about PDT: https://developer.paypal.com/docs/classic/products/payment-data-transfer/

Re: POST params not sent when redirected

Hi Andre,

thanks a lot for your feedback !
PDT was never enabled but IPN was so far and the problem just appeared last week without any change in our checkout implementation. Any change on Paypal side ? I understand that PDT is the way to go in our case but it represents some efforts on our side to do the switch.
Regards,

Antoine