Get plan_id from IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i'm testing the IPN Service.
I need the "plan_id" or "product_id", but i get only the "product_name"
My server receives a response like this when someone subscribes to my service:
array (
'mc_gross' => '449.00',
'outstanding_balance' => '0.00',
'period_type' => 'Regular',
'next_payment_date' => '03:00:00 Oct 01, 2020 PDT',
'protection_eligibility' => 'Eligible',
'payment_cycle' => 'Monthly',
'address_status' => 'confirmed',
'tax' => '0.00',
'payer_id' => 'SJXPYR3VBXECA',
'address_street' => '111 First Street',
'payment_date' => '20:56:30 Sep 01, 2020 PDT',
'payment_status' => 'Completed',
'product_name' => 'Mensual',
'charset' => 'windows-1252',
'recurring_payment_id' => 'I-YMPL9NJ3FA8S',
'address_zip' => '95070',
'first_name' => 'test',
'mc_fee' => '13.32',
'address_country_code' => 'US',
'address_name' => 'test buyer',
'notify_version' => '3.9',
'amount_per_cycle' => '449.00',
'payer_status' => 'verified',
'currency_code' => 'USD',
'business' => '',
'address_country' => 'United States',
'address_city' => 'Saratoga',
'verify_sign' => 'AeehE8FlpkEKaVRvDtOtKIx3vr6bA3qSech5o1zgnMvTIFXgDTehDq2e',
'payer_email' => '',
'initial_payment_amount' => '0.00',
'profile_status' => 'Active',
'amount' => '449.00',
'txn_id' => '3BY59976XS118911K',
'payment_type' => 'instant',
'last_name' => 'buyer',
'address_state' => 'CA',
'receiver_email' => '',
'payment_fee' => '13.32',
'receiver_id' => 'AUCUG2E84QFMW',
'txn_type' => 'recurring_payment',
'mc_currency' => 'USD',
'residence_country' => 'US',
'test_ipn' => '1',
'transaction_subject' => 'Mensual',
'payment_gross' => '449.00',
'shipping' => '0.00',
'product_type' => '1',
'time_created' => '20:55:33 Sep 01, 2020 PDT',
'ipn_track_id' => '2a3be0250d6e9',
)
- Labels:
-
IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wish I could the plan ID too, doesn't look like it's an option though. However, it is if you use webhooks.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I want to implement subscription functionality. in REST APIs
- rest api > list plan > does query parameter plan_ids exist? in REST APIs
- Simple Paypal button integration results in 404 error in Sandbox Environment
- Subscription Quantity Not Working in PayPal Payments Standard
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs