Title: create_order_error
Last modified: March 10, 2022

---

# create_order_error

 *  Resolved [Rolly Bueno](https://wordpress.org/support/users/rollybueno/)
 * (@rollybueno)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/create_order_error/)
 * Hi there,
 * In some cases, especially if someone from UK pays, this plugin won’t work. See
   the error: [https://bit.ly/3HZHpx4](https://bit.ly/3HZHpx4)
 * Looks like the native popup is closing it self. This is one of the error we found
   on the console: [https://gist.github.com/rollybueno/4a2df505353c3bd2f48ca78c74acb192](https://gist.github.com/rollybueno/4a2df505353c3bd2f48ca78c74acb192)
 * Does not happen all the time but as mentioned, if customer is from UK, they will
   have this issue.
 * Please help!
 * Thanks!

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

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/create_order_error/#post-15449050)
 * Hi [@rollybueno](https://wordpress.org/support/users/rollybueno/),
 * To learn more about these orders, we would be interested in your plugin log files.
   These log files are only written when “Logging” is enabled in the plugin settings.
   
   If enabled, then every transaction will create a log entry that can be accessed
   from here: WooCommerce > Status > Logs > select “woocommerce-paypal-payments-[…]”
   in the dropdown and click on view.  In case “Logging” was not yet enabled, could
   you please enable it and then try again to reproduce the error message so it 
   is stored in the logs?
 * Also, if you can reproduce the issue, then you may want to perform a full conflict
   test to rule out eventual issues with the theme or a different plugin. We recommend
   temporarily activating the [default theme Storefront](https://wordpress.org/themes/storefront/)
   and disabling all other plugins except for WooCommerce and PayPal Payments to
   see if the behavior persists.
    Thanks!
 * Kind regards,
    Niklas
 *  Thread Starter [Rolly Bueno](https://wordpress.org/support/users/rollybueno/)
 * (@rollybueno)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/create_order_error/#post-15449357)
 * Hey [@niklasinpsyde](https://wordpress.org/support/users/niklasinpsyde/),
 * Thanks for your reply. This is the log content from last night: [https://gist.github.com/rollybueno/7bd30ed168537b6f9a7ceabc66f37385](https://gist.github.com/rollybueno/7bd30ed168537b6f9a7ceabc66f37385)
 * Additional info that may be useful for you:
    1. When we encountered this issue, there were no orders made on WC. Error just 
       visible on console log in Chrome/FF/Edge
    2. Most of the errors are broken JSON response, which may look like coming from
       PP itself?
 * Thanks!
    -  This reply was modified 4 years, 3 months ago by [Rolly Bueno](https://wordpress.org/support/users/rollybueno/).
 *  [CelsiusAnderson](https://wordpress.org/support/users/celsiusanderson/)
 * (@celsiusanderson)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/create_order_error/#post-15449447)
 * Does this happen for the new customers? For me, the plugin does not cause any
   problem creating orders when it’s a new customer. It makes a problem returning
   customers from any country try to place an order with PayPal.
 *  Thread Starter [Rolly Bueno](https://wordpress.org/support/users/rollybueno/)
 * (@rollybueno)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/create_order_error/#post-15449731)
 * Hey [@celsiusanderson](https://wordpress.org/support/users/celsiusanderson/),
   in our case it’s random but high probability if the customer is coming from UK
   or using mobile
 *  [Stanko Metodiev](https://wordpress.org/support/users/metodiew/)
 * (@metodiew)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/create_order_error/#post-15450685)
 * Hey there,
 * as a followup of [@rollybueno](https://wordpress.org/support/users/rollybueno/)
   update, here’s another set of errors, that’s from the console when you click 
   on the pay with paypal button – [https://gist.github.com/metodiew/1da6fcdb2fa57536bc8f469fbcedfd84](https://gist.github.com/metodiew/1da6fcdb2fa57536bc8f469fbcedfd84)
 * The project and the setup is the same:
    WooCommerce Version 6.21 WooCommerce 
   PayPal Payments version 1.7.0
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/create_order_error/#post-15450959)
 * Hi [@rollybueno](https://wordpress.org/support/users/rollybueno/) & [@metodiew](https://wordpress.org/support/users/metodiew/),
 * The WooCommerce order is only created after the PayPal order. So when the popup
   window doesn’t open properly, then there will be no WooCommerce order.
    The console
   error looks like it could be coming from the PayPal SDK but we’d need to perform
   some more tests to better judge it. Do you have a staging site where the plugin
   could be activated without interfering with the live site?
 * Since there’s a webhook error in the provided log, I suggest making sure the 
   webhooks are registered correctly, from the “Webhooks Status” dashboard.
    On 
   that page, click on Resubscribe and afterward Simulate to verify that the webhooks
   are received. If it takes a while and displays an error after trying to simulate,
   then we would be interested in another copy of your latest log file. Thanks!
 * If you can reproduce the issue somewhat reliably, then I would suggest performing
   a full conflict test to rule out eventual issues with the theme or a different
   plugin. A staging site with the same issue can be handy for this. We recommend
   temporarily activating the [default theme Storefront](https://wordpress.org/themes/storefront/)
   and disabling all other plugins except for WooCommerce and PayPal Payments to
   see if the behavior persists.
 * Read more about plugin and theme conflicts in the WooCommerce [Self-Service Guide](https://docs.woocommerce.com/document/woocommerce-self-service-guide/).
 * [@celsiusanderson](https://wordpress.org/support/users/celsiusanderson/) Please
   create a separate thread as I don’t think you are encountering the same issue.
   Thanks!
 * Kind regards,
    Niklas
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/create_order_error/#post-15570821)
 * hello,
 * we will mark this thread as resolved since we have not had any activity on it
   for over a month. Don’t hesitate to open a new thread if you still need our support
   on this or any other issue.
 * Kind regards,
    Joost

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

The topic ‘create_order_error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

## Tags

 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [paypal payments](https://wordpress.org/support/topic-tag/paypal-payments/)

 * 7 replies
 * 5 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/create_order_error/#post-15570821)
 * Status: resolved