I am working in PayPal sandbox. I have configured IPN to post to my server url, and I am surely running through all the cycle of IPN (it sends me the message, I send 200, then I send message, then I am getting VERIFIED from PayPal). But a day after, I just got another message from PayPal. Why it happens? I know PayPal will continiously send me messages if I dont respond, but I respond to everything. How can that be?
My code for verification I have taken from this article:
The first message a day ago:
mc_gross=3.00&protection_eligibility=Ineligible&address_status=confirmed&payer_id=KJB83HATRSBSS&address_street=ESpachstr. 1&payment_date=03:44:45 Oct 04, 2022 PDT&payment_status=Pending&charset=UTF-8&address_zip=79111&first_name=John&mc_fee=0.36&address_country_code=DE&address_name=John Doe¬ify_version=3.9&custom=&payer_status=verified&[email protected]&address_country=Germany&address_city=Freiburg&quantity=1&verify_sign=AWfL7B6RVZ8eZWR.PU69WTajzSseAz-s4FHbA0NBw.r1pFqUVTI-KSd-&[email protected]&txn_id=9PJ91750BT0424118&payment_type=instant&last_name=Doe&address_state=Baden-Württemberg&[email protected]&payment_fee=0.36&shipping_discount=0.00&insurance_amount=0.00&receiver_id=WL5ML3MBEBPU2&pending_reason=paymentreview&txn_type=express_checkout&item_name=&discount=0.00&mc_currency=USD&item_number=&residence_country=DE&test_ipn=1&shipping_method=Default&transaction_subject=&payment_gross=3.00&ipn_track_id=f516a429d3b1e
The second message:
mc_gross=3.00&protection_eligibility=Eligible&address_status=confirmed&payer_id=KJB83HATRSBSS&tax=0.00&address_street=ESpachstr. 1&payment_date=03:44:45 Oct 04, 2022 PDT&payment_status=Completed&charset=UTF-8&address_zip=79111&first_name=John&mc_fee=0.36&address_country_code=DE&address_name=John Doe¬ify_version=3.9&custom=&payer_status=verified&[email protected]&address_country=Germany&address_city=Freiburg&quantity=1&verify_sign=AVTL5g-BCb02dVzBaOm2ffAGKcHyAyGn2INeuTCCGdoH5MC547XMRptK&[email protected]&txn_id=9PJ91750BT0424118&payment_type=instant&last_name=Doe&address_state=Baden-Württemberg&[email protected]&payment_fee=0.36&shipping_discount=0.00&insurance_amount=0.00&receiver_id=WL5ML3MBEBPU2&txn_type=express_checkout&item_name=&discount=0.00&mc_currency=USD&item_number=&residence_country=DE&test_ipn=1&shipping_method=Default&handling_amount=0.00&transaction_subject=&payment_gross=3.00&shipping=0.00&ipn_track_id=66f75f44856ce
CodePudding user response:
message 1:
payment_status=Pending&pending_reason=paymentreview
message 2:
payment_status=Completed
These are separate events for different stages of the payment, hence separate IPN messages.