where do i find the item_number in the webhook json?

aimondo
Contributor
Contributor

I am using the IPN service to make subscriptions. I also receive the return on success or failure. However I haven't been able to mock or test out the signals when a subscription is renewed. Thus i have setup a webhook to receive incoming signals via the webhook api. Now I need to figure out what the equivalent of item_number from the IPN field is in the webhook json.

 

Thx & Regards,

 

Jack

Login to Me Too
1 REPLY 1

MTS_Ciaran
Moderator
Moderator

Hey, 

 

You should use the payment details API (https://developer.paypal.com/docs/api/payments/#payment_get) using the PAY ID from the webhook as reference to return the full transaction details and information. The item name is in the item_list object. 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.