HTML Form input field custom no long being read by PayPal

david-SDAS
New Community Member

Our integration uses Hosted Payments Pro, using the iFrame with hidden fields to post to PayPal.  We have used the "custom" field for several years to pass transactional information about the specific transaction that we send, however, from 20 June 2022 the field seems to be no longer read by PayPal and the information is lost.  This creates difficulties as we try to reconcile data in our financial management package.

No changes have been made on our end relating to this part of the transaction flow and none were made between 18 June 2022 and 26 June 2022.  The problem started on 20 June 2022.  

Can anyone advise an approach to pass the custom data to PayPal so that it can be seen by the customer and also by us as the merchant?

 

Below is the code that we use 

 

<input type="hidden" name="cmd" value="_hosted-payment" />
<input type="hidden" name="business" value="<?=$merchID?>" />
<input type="hidden" name="subtotal" value="<?=$totalPrice?>">
<input type="hidden" name="currency_code" value="<?=$currency?>" />
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="billing_first_name" value="<?=$ufname?>">
<input type="hidden" name="billing_last_name" value="<?=$ulname?>">
<input type="hidden" name="billing_address1" value="<?=$uaddress?>">
<input type="hidden" name="billing_city" value="<?=$ucity?>">
<input type="hidden" name="billing_state" value="<?=$ustate?>">
<input type="hidden" name="billing_zip" value="<?=$uzip?>">
<input type="hidden" name="billing_country" value="<?=$country?>">
<input type="hidden" name="return" value="<?=$returnURL?>">
<input type="hidden" name="cancel_return" value="<?=$cancelURL?>">
<input type="hidden" name="custom" value="<?=$customPayPal?>" />

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.