NOTE: be sure to sign in using https://SANDBOX.paypal.com when using the facilitator login!
NOTE – https://SANDBOX.paypal.com ! ! ! (2016-07-12)
1) call business support depto 888-215-5506
2) ask for Merchant Technical Support
https://developer.paypal.com/docs/classic/ipn/gs_IPN/
1) Make sure you have “facilitator” and “buyer” sandbox accounts established.
2) create a paypal webpage button
(MerchantServices—>CreatePaymentButtonsForYourWebsite
3) Establish paypal IPN (instant payment notification)
(profile—>MySellingTools, Instant Payment Notification)
html file:
============
==============
php ipn file:
============================
<?phpheader(‘HTTP/1.1 200 OK’);
$myfile = fopen(’./paypal.log’, ‘a’) or die (‘unable to open!’);
fwrite($myfile, “\n\n\n” );
fwrite($myfile, date(‘l jS \of F Y h:i:s A’) );
fwrite($myfile, “\n” );
fwrite($myfile, print_r($_REQUEST,1) );
fclose($myfile);
=================================
and finally the results of the php script:
Friday 17th of June 2016 02:22:18 PM
Array
( [mc_gross] => 103.00 [protection_eligibility] => Eligible [address_status] => confirmed [payer_id] => 99YYY8RDHZ3YS [tax] => 0.00 [address_street] => 1 Main St [payment_date] => 11:22:14 Jun 17, 2016 PDT [payment_status] => Completed [charset] => windows-1252 [address_zip] => 95131 [first_name] => test [option_selection1] => Option three [option_selection2] => shit test [mc_fee] => 3.29 [address_country_code] => US [address_name] => test buyer [notify_version] => 3.8 [custom] => [payer_status] => verified [business] => mark-facilitator@edwardsmark.com [address_country] => United States [address_city] => San Jose [quantity] => 1 [verify_sign] => Az8jX0prl8WNS0JPaYYiX2iBM43aA9xAVfxJD6C8C8SZLtxt16nIFmlv [payer_email] => mark-buyer@edwardsmark.com [option_name1] => marks drop-down menu [option_name2] => text field example one [txn_id] => 9VJ77230WN875992H [payment_type] => instant [btn_id] => 3359144 [last_name] => buyer [address_state] => CA [receiver_email] => mark-facilitator@edwardsmark.com [payment_fee] => 3.29 [shipping_discount] => 0.00 [insurance_amount] => 0.00 [receiver_id] => 9FPH7CZAJTJSE [txn_type] => web_accept [item_name] => marks test item [discount] => 0.00 [mc_currency] => USD [item_number] => abcdef [residence_country] => US [test_ipn] => 1 [shipping_method] => Default [handling_amount] => 0.00 [transaction_subject] => [payment_gross] => 103.00 [shipping] => 0.00 [ipn_track_id] => 309fc5cfc2185
)