What is PayPal Returned Data in php

#PayPal Return data after payment

Array 
( 
[mc_gross] => 200.00 
[protection_eligibility] => Ineligible 
[payer_id] => QYHMSXDS1G9EW 
[tax] => 0.00 
[payment_date] => 23:58:50 Dec 06, 2016 PST 
[payment_status] => Completed 
[charset] => windows-1252 
[first_name] => Michael 
[mc_fee] => 638.30 
[notify_version] => 3.8 
[custom] => 
[payer_status] => verified 
[business] => [email protected] 
[quantity] => 1 
[payer_email] => [email protected] 
[verify_sign] => AFcWxV21defscfpSSRl31AigkHPgL19VtTEJj0Cjs36ApTyAR 
[txn_id] => 5DM16544DF0332E 
[payment_type] => instant 
[last_name] => JhemonSteav 
[receiver_email] => [email protected] 
[payment_fee] => 638.30 
[receiver_id] => J28TM356852 
[txn_type] => web_accept 
[item_name] => iPhone 
[mc_currency] => USD 
[item_number] => 1 
[residence_country] => US 
[test_ipn] => 1 
[handling_amount] => 0.00 
[transaction_subject] => 
[payment_gross] => 22000.00 
[shipping] => 0.00 
[auth] => A04F2UL9nuUpiqZxNxtBPYkgg9r-79VOmOY7YHQLyNjqfXc9f.7H-7pdV.JC7mtjzqA 
[form_charset] => UTF-8
 )
Please follow and like us:
0

how to integrate paypal payment gateway in php

At Paypal account first merchant have to create Paypal account.

Send the data to Paypal:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="Your merchant account">
<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="item_name" value="Shopping Products">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="amount" value="20">
 
<input type="hidden" name="return" class="inputurlbox" 
value="success url">
<input type="hidden" name="cancel_return" class="inputurlbox" 
value="cancel url">

<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
 
 </form>



In Paypal page user have to login with Paypal account to pay.


For Testing Using Paypay Form action URL is: 
https://www.sandbox.paypal.com/cgi-bin/webscr

express-checkout-hero-sg paypal-paynow-button-300x89

Please follow and like us:
0