• Resolved husaynia

    (@husaynia)


    Hi.

    I am trying to leverage paypal for my website using give wp and when the IPN comes back, there is an error that is constantly appearing which is preventing the transactions from completing.

    {
        "Message": "Donation id (from IPN) does not exist.",
        "Event Data": {
            "mc_gross": "10.00",
            "outstanding_balance": "0.00",
            "period_type": " Regular",
            "next_payment_date": "03:00:00 Sep 01, 2022 PDT",
            "protection_eligibility": "Eligible",
            "payment_cycle": "Weekly",
            "address_status": "confirmed",
            "tax": "0.00",
            "payer_id": "V8PYUFZPASEP6",
            "address_street": "1 Main St",
            "payment_date": "16:49:13 Aug 25, 2022 PDT",
            "payment_status": "Completed",
            "product_name": "Donation Form - Weekly",
            "charset": "UTF-8",
            "recurring_payment_id": "I-5S4DA5RCHDPC",
            "address_zip": "95131",
            "first_name": "John",
            "mc_fee": "0.84",
            "address_country_code": "US",
            "address_name": "John Doe",
            "notify_version": "3.9",
            "amount_per_cycle": "10.00",
            "payer_status": "verified",
            "currency_code": "USD",
            "business": "*************************",
            "address_country": "United States",
            "address_city": "San Jose",
            "verify_sign": "Ajx4NQBAdPsnL0n4nGp7ZfL.W6aKAdvg7LepYawJN6wsm60WrgEQQbFN",
            "payer_email": "*************************",
            "initial_payment_amount": "0.00",
            "profile_status": "Active",
            "amount": "10.00",
            "txn_id": "3J319954S8688745M",
            "payment_type": "instant",
            "last_name": "Doe",
            "address_state": "CA",
            "receiver_email": "*************************",
            "payment_fee": "0.84",
            "receiver_id": "62Q7XRHQY8SJ2",
            "txn_type": "recurring_payment",
            "mc_currency": "USD",
            "residence_country": "US",
            "test_ipn": "1",
            "transaction_subject": "Donation Form - Weekly",
            "payment_gross": "10.00",
            "shipping": "0.00",
            "product_type": "1",
            "time_created": "16:49:13 Aug 25, 2022 PDT",
            "ipn_track_id": "6af2edb9c91fb"
        }
    }
    

    The code in PayPalStandard/Controllers/PayPalStandardWebhook.php

    if (!$this->verifyDonationId($donationId)) {
                Log::error(
                    'PayPal Standard IPN Error',
                    [
                        'Message' => 'Donation id (from IPN) does not exist.',
                        'Event Data' => $eventData
                    ]
                );
                exit();
            }

    `

    is failing because there is no custom in event. Please assist. I am unable to figure out the reason behind the issue.

    • This topic was modified 2 years, 3 months ago by husaynia.
    • This topic was modified 2 years, 3 months ago by husaynia.
    • This topic was modified 2 years, 3 months ago by husaynia.
    • This topic was modified 2 years, 3 months ago by husaynia.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi @husaynia,

    Happy to help.

    Here’s what yo need to do.

    1. First, backup your site and be sure you are comfortable recovering from that backup just in case.

    2. Enable Advanced Database Updates in Donations -> Settings -> Advanced:

    3. Next, run the update in Donations -> Tools -> Data, find set_paypal_standard_id_to_paypal_from_paypal_standard and click the Re-run Update button.

    4. Last, go back to Donations -> Settings -> Advanced and disable Advanced Database Updates.

    Let me know if the problem persists.

    Thanks!

    Plugin Support Rick Alday

    (@mrdaro)

    Hi there,

    Just checking in on this issue.
    Do you still need assistance here?

    If you still need help, reply and we’ll make sure everything is handled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal IPN returning but having an error’ is closed to new replies.