/* auth-algo: SHA256withRSA User-Agent: PayPal/AUHD-214.0-58228326 cert-url: https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-ad47cb8d auth-version: v2 transmission-sig: LhOTxbycvxea/jxeHc0HUMF7xdP/JJ8mm6tYS5J2lBv9omICfBdSzs8pibxxCoYD2Pyk8gLdekmiloJUfMfNOf7+/8KAPOzc9wyFpU7MeS8YAPyxnLWAJrhKDVgQleiF7I2TaTKdLBpGfdOUkPutxkhMfQuNMVy3EA3hOFKQuT3CoaaGlU15MRKHMaWl0k+J955FQ6Tx6Y8+3GAGe+helomEoGuUXZyx4ee1ZJ2Jx/EHU9NUqOXXtQ4MwLnnhe08Hz33occm42BQPUaepQKNBbf0Ff0ppEs7Ga++upk8a3Tm2DsIsBC71/fqlVsuPlbf3856ms44qZb1g/hBBufRPg== transmission-time: 2023-12-07T22:27:56Z transmission-id: de659ba0-954f-11ee-b7a2-ef38e48b54d0 */ let h = { "id": "WH-6W4482673W002281V-61985753LP2332451", "create_time": "2018-19-12T22:20:32.000Z", "event_type": "CHECKOUT.CHECKOUT.BUYER-APPROVED", "event_version": "1.0", "resource_type": "payment", "summary": "Checkout Payment is created and approved by buyer.", "resource": { "id": "EC-7JW39463WG7174715", "payload": "payment_type=instant&payment_date=10%3A46%3A54%20Apr%2028%2C%202019%20PDT&payment_status=Completed&address_status=confirmed&payer_status=verified&first_name=John&last_name=Smith&payer_email=buyer@paypalsandbox.com&payer_id=TESTBUYERID01&address_name=John%20Smith&address_country=United%20States&address_country_code=US&address_zip=95131&address_state=CA&address_city=San%20Jose&address_street=123%20any%20street&business=seller@paypalsandbox.com&receiver_email=seller@paypalsandbox.com&receiver_id=seller@paypalsandbox.com&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=274113719¬ify_version=2.1&custom=xyz123&invoice=abc1234&test_ipn=1&verify_sign=AmoLQMSQnFNTX4UH11dp7XvPK.4bAfd10dnRIZeo9cONJNn0b9NquIGb" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6W4482673W002281V-61985753LP2332451", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6W4482673W002281V-61985753LP2332451\/resend", "rel": "resend", "method": "POST" } ] }