Title: Sandbox orders not saved, debug empty
Last modified: October 29, 2020

---

# Sandbox orders not saved, debug empty

 *  Resolved [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/)
 * Hi, and thanks for a great and easy to use plugin.
    I am just using buy button,
   and payment goes well on sandbox account. However the orders are not saved in
   admin, debug log is empty and wp_paypal_ipn_processed callback is never called.
 * Steps:
 * I tested ipn on paypal and got a green light
    Sandbox is not pending it is lowering
   the balance, so the payments seems to be successful.
 * Do you have any idea what could I check more?
    Soon I will go live, and I would
   really like to have saved orders and ipn response..
 * Thanks upfront 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13608908)
 * [@jelica](https://wordpress.org/support/users/jelica/), Send a test IPN to `http://
   yoursite.com/?wp_paypal_ipn=1` and see what happens.
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13611756)
 * Hi Noor, i see the message Empty PayPal IPN Request.
 * After i remembered to remove my htacces protection on website I did tests again..
   still no orders in admin but now i see in issue log
 *     ```
       [November 2, 2020 5:17 pm] - SUCCESS :Received IPN from PayPal
       [November 2, 2020 5:17 pm] - SUCCESS :
       Array
       (...)
       [November 2, 2020 5:17 pm] - SUCCESS :IPN Response: 
       [November 2, 2020 5:17 pm] - SUCCESS :
       Array
       (..)
       [November 2, 2020 5:17 pm] - SUCCESS :Received valid response from PayPal
       [November 2, 2020 5:17 pm] - SUCCESS :Payment Status - Pending
       [November 2, 2020 5:17 pm] - FAILURE :This payment cannot be processed
       ```
   
 * I shorten the arrays, it all seems fine just pending…
 * Hm, how it can be pending, when on sandbox account i see that is payed, there
   is no pending status anywhere, the review payments is set to off for this account
   and i see that money is subtracted from balance..
 * What he paypal settings should be in order of the plugin to show orders?
 * Thank you Noor for your support!
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13613517)
 * [@jelica](https://wordpress.org/support/users/jelica/), Is this log from the 
   IPN simulator or have you made a test purchase? PayPal actually has a documentation
   for pending payments: [https://www.paypal.com/us/brc/article/funds-availability](https://www.paypal.com/us/brc/article/funds-availability)
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13623659)
 * That one was from site, now i tested from paypal sandbox, ipn simulator, I checked
   Transaction type eCkeck -complete.
    Got the message ** IPN was sent and the handshake
   was verified.**
 * And on the website debug i see a lot of arrays and at the end
 * [November 5, 2020 7:47 am] – SUCCESS :Received valid response from PayPal
    [November
   5, 2020 7:47 am] – SUCCESS :Payment Status – Completed [November 5, 2020 7:47
   am] – FAILURE :Seller PayPal ID (milojicmarko85@gmail.com) and Receiver PayPal
   ID (seller@paypalsandbox.com) do not match. This payment cannot be processed.
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13623719)
 * Hm after this i checked settings, I am an idiot email and merchantId were switched.
   Now when the setting are correct, I repeat ipn simulator test
 * [November 5, 2020 8:02 am] – SUCCESS :Received valid response from PayPal
    [November
   5, 2020 8:02 am] – SUCCESS :Payment Status – Completed [November 5, 2020 8:02
   am] – FAILURE :Seller PayPal ID (*********) and Receiver PayPal ID (seller@paypalsandbox.
   com) do not match. This payment cannot be processed.
 * and when i test from website I get pending…
    -  This reply was modified 5 years, 7 months ago by [jelica](https://wordpress.org/support/users/jelica/).
    -  This reply was modified 5 years, 7 months ago by [jelica](https://wordpress.org/support/users/jelica/).
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13624139)
 * [@jelica](https://wordpress.org/support/users/jelica/), So what was the original
   issue? It looks like your site is receiving the test IPN from PayPal. This error
   will obviously not happen in live mode because your seller IDs will match.
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13624155)
 * The issue is i dont see orders in admin, if it will work in live then no issues
   🙂 will do a test with live once just to check
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13645727)
 * Hi Noor, me again.
    After setting up my site live, i tested paypal with 0.01eur
   for real. Payment went well, but in orders on website order did not appear… Debug
   is also empty. Now the order was completed, I saw in account. So it works, but
   I would like to see orders in admin…
 *     ```
       my_callback_function (){}
       add_action('wp_paypal_ipn_processed', 'my_callback_function');
       ```
   
 * This function is not called at all… And i would like to see ion response, since
   I am also sending custom params to paypal..
    heeelp
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13647153)
 * [@jelica](https://wordpress.org/support/users/jelica/), I’m not really sure what
   is happening. But an empty debug file means the plugin is not receiving any notification
   from your live PayPal account. You do have IPN enabled in your live PayPal account
   right?
 *  Thread Starter [jelica](https://wordpress.org/support/users/jelica/)
 * (@jelica)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13674933)
 * It wooorks, ipn was not enabled, thanks for a great plugin.
    Can you please tell
   me how to send custom param to paypal with your wp_paypal shortcode?
 * i need to send for example user = 11252432435

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Sandbox orders not saved, debug empty’ is closed to new replies.

 * ![](https://ps.w.org/wp-paypal/assets/icon-128x128.png?rev=2722398)
 * [Payment Button for PayPal](https://wordpress.org/plugins/wp-paypal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-paypal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-paypal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-paypal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-paypal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-paypal/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [jelica](https://wordpress.org/support/users/jelica/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/sandbox-orders-not-saved-debug-empty/#post-13674933)
 * Status: resolved