mardi 20 décembre 2016

Paypal URL post issue

I am trying to use Paypal on my web-application, This the code of the Paypal form :

<form action="http://ift.tt/xpRUtH" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="YZP3RVH4S2A66"><input type="image" src="http://ift.tt/2h6UsoF" border="0" name="submit" alt="PayPal - הדרך הקלה והבטוחה יותר לשלם באינטרנט!"><img alt="" border="0" src="http://ift.tt/2hlTHUX" width="1" height="1">
<input type="hidden" name="full_name" value="Full name62249"><input type="hidden" name="rm" value="2">
<input type="hidden" name="no_note" value="1"><input type="hidden" name="custom" value="110"><input type="hidden" name="payer_email" value="62249asd@mail.com"><input type="hidden" name="return" value="http://ift.tt/2h6PKaE">
</form>

It works correctly in the desktop browsers. but in mobile it returns an empty array from the POST. I have printed the POST Array that returned from Paypal: in desktop

array ( 'txn_id' => '54E89473AT937735D', 'mc_currency' => 'ILS', 'mc_fee' => '4.60', 'mc_gross' => '100.00', 'protection_eligibility' => 'ELIGIBLE', 'payment_date' => '2016-12-20T09:06:06Z', 'payment_fee' => '4.60', 'payment_gross' => '100.00', 'payment_status' => 'Completed', 'payment_type' => 'INSTANT_TRANSFER', 'business' => 'KMDYZYJXEAJ36', 'receiver_id' => 'KMDYZYJXEAJ36', 'payer_email' => 'loai@dotech.co.il', 'payer_id' => 'JC47JZKMY2CMG', 'payer_status' => 'VERIFIED', 'first_name' => 'loai', 'last_name' => 'Shi', 'address_name' => 'loai Shi', 'address_street' => 'ישראליס 5 דירה 4', 'address_city' => 'תל-אביב', 'address_country_code' => 'IL', 'address_zip' => '61014', 'residence_country' => 'IL', 'item_name' => 'nmc test', 'quantity' => '1', 'custom' => '99', 'charset' => 'windows-1255', )

in mobile :

array()

I have i done wrong?




Aucun commentaire:

Enregistrer un commentaire