Paypal Notifications API: Variable Recognition

Asked

Viewed 62 times

1

Using the API of notifications of Paypal through the Simulator IPN found in https://developer.paypal.com/developer/ipnSimulator/, I got the following return which is the simulator standard:

My doubts are:

In the list below,

A) Who is the número do pedido in base de dados da minha loja which I sent to Paypal still in the phase of checkout? Would be the receiver_id?

B) What is the valor total do pedido that understands the somatório of todos os itens do pedido? Would be the mc_gross?

C) In my shop, I somo os fretes de todos os produtos and sent to Paypal only the somatório, then the frete here is referenced with mc_shipping?

Grateful to those who can help?

array (
  'payment_type' => 'instant',
  'payment_date' => 'Sat Oct 15 2016 09:34:52 GMT-0300 (Hora oficial do Brasil)',
  'payment_status' => 'Completed',
  'address_status' => 'confirmed',
  'payer_status' => 'verified',
  'first_name' => 'John',
  'last_name' => 'Smith',
  'payer_email' => '[email protected]',
  'payer_id' => 'TESTBUYERID01',
  'address_name' => 'John Smith',
  'address_country' => 'United States',
  'address_country_code' => 'US',
  'address_zip' => '95131',
  'address_state' => 'CA',
  'address_city' => 'San Jose',
  'address_street' => '123 any street',
  'business' => '[email protected]',
  'receiver_email' => '[email protected]',
  'receiver_id' => '[email protected]',
  'residence_country' => 'US',
  'item_name1' => 'something',
  'item_number1' => 'AK-1234',
  'tax' => '2.02',
  'mc_currency' => 'USD',
  'mc_fee' => '0.44',
  'mc_gross' => '12.34',
  'mc_gross_1' => '12.34',
  'mc_handling' => '2.06',
  'mc_handling1' => '1.67',
  'mc_shipping' => '3.02',
  'mc_shipping1' => '1.02',
  'txn_type' => 'cart',
  'txn_id' => '751042518',
  'notify_version' => '2.1',
  'custom' => 'xyz123',
  'invoice' => 'abc1234',
  'test_ipn' => '1',
  'verify_sign' => 'AFcWxV21C7fd0v3bYYYRCpSSRl31AgAbMLie9sImKsLNhPgU-vSMC4Iy',
)
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.