Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.36 KB | None | 0 0
  1. Received event 'PAYMENT.SALE.COMPLETED' of '' ''
  2. From: '' '' at ''
  3.  
  4. Data:
  5. stdClass Object
  6. (
  7.     [auth_algo] => SHA256withRSA
  8.     [transmission_id] => stripped
  9.     [cert_url] => https://api.paypal.com/v1/notifications/certs/stripped
  10.     [webhook_id] => stripped
  11.     [transmission_sig] => stripped
  12.     [transmission_time] => 2019-10-22T04:12:43Z
  13.     [webhook_event] => stdClass Object
  14.         (
  15.             [id] => WH-0MU674326S3386700-3ES95993UU900933Z
  16.             [event_version] => 1.0
  17.             [create_time] => 2019-10-22T04:12:39.472Z
  18.             [resource_type] => sale
  19.             [event_type] => PAYMENT.SALE.COMPLETED
  20.             [summary] => Payment completed for EUR 14.97 EUR
  21.             [resource] => stdClass Object
  22.                 (
  23.                     [id] => 0UX830254Y426081E
  24.                     [state] => completed
  25.                     [amount] => stdClass Object
  26.                         (
  27.                             [total] => 14.97
  28.                             [currency] => EUR
  29.                             [details] => stdClass Object
  30.                                 (
  31.                                     [subtotal] => 14.97
  32.                                 )
  33.  
  34.                         )
  35.  
  36.                     [payment_mode] => INSTANT_TRANSFER
  37.                     [protection_eligibility] => ELIGIBLE
  38.                     [protection_eligibility_type] => ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE
  39.                     [transaction_fee] => stdClass Object
  40.                         (
  41.                             [value] => 1.16
  42.                             [currency] => EUR
  43.                         )
  44.  
  45.                     [invoice_number] =>
  46.                     [custom] => resource_purchase|761273|27449|10258
  47.                     [create_time] => 2019-10-22T04:12:34Z
  48.                     [update_time] => 2019-10-22T04:12:34Z
  49.                     [links] => Array
  50.                         (
  51.                             [0] => stdClass Object
  52.                                 (
  53.                                     [href] => https://api.paypal.com/v1/payments/sale/0UX830254Y426081E
  54.                                     [rel] => self
  55.                                     [method] => GET
  56.                                 )
  57.  
  58.                             [1] => stdClass Object
  59.                                 (
  60.                                     [href] => https://api.paypal.com/v1/payments/sale/0UX830254Y426081E/refund
  61.                                     [rel] => refund
  62.                                     [method] => POST
  63.                                 )
  64.  
  65.                         )
  66.  
  67.                 )
  68.  
  69.             [links] => Array
  70.                 (
  71.                     [0] => stdClass Object
  72.                         (
  73.                             [href] => https://api.paypal.com/v1/notifications/webhooks-events/WH-0MU674326S3386700-3ES95993UU900933Y
  74.                             [rel] => self
  75.                             [method] => GET
  76.                         )
  77.  
  78.                     [1] => stdClass Object
  79.                         (
  80.                             [href] => https://api.paypal.com/v1/notifications/webhooks-events/WH-0MU674326S3386700-3ES95993UU900933Y/resend
  81.                             [rel] => resend
  82.                             [method] => POST
  83.                         )
  84.  
  85.                 )
  86.  
  87.         )
  88.  
  89. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement