Title: Error!
Last modified: July 31, 2022

---

# Error!

 *  [gsmxteam](https://wordpress.org/support/users/gsmxteam/)
 * (@gsmxteam)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-1674/)
 * 2022-07-31T13:45:44+00:00 DEBUG Error during POST to [https://bpay.binanceapi.com/binancepay/openapi/v2/order](https://bpay.binanceapi.com/binancepay/openapi/v2/order).
   Got response (401): {“status”:”FAIL”,”code”:”400004″,”errorMessage”:”Invalid 
   API-key, IP, or permissions for action, request ip: 162.0.229.219″}
    2022-07-
   31T13:45:44+00:00 DEBUG #0 /home/dilip35/public_html/wp-content/plugins/wc-binancepay/
   src/Client/BinanceOrder.php(57): BinancePay\WC\Client\AbstractClient->getExceptionByStatusCode(‘
   POST’, ‘[https://bpay.bi…&#8217](https://bpay.bi…&#8217);, Object(BinancePay\
   WC\Http\Response)) #1 /home/dilip35/public_html/wp-content/plugins/wc-binancepay/
   src/Gateway/BinancePayGateway.php(346): BinancePay\WC\Client\BinanceOrder->createOrder(‘
   [https://gsmxtea…&#8217](https://gsmxtea…&#8217);, ‘[https://gsmxtea…&#8217](https://gsmxtea…&#8217);,
   Object(BinancePay\WC\Helper\PreciseNumber), ‘USDT’, ‘6701’) #2 /home/dilip35/
   public_html/wp-content/plugins/wc-binancepay/src/Gateway/BinancePayGateway.php(
   175): BinancePay\WC\Gateway\BinancePayGateway->createBinanceOrder(Object(WC_Order))#
   3 /home/dilip35/public_html/wp-content/plugins/woocommerce/includes/class-wc-
   checkout.php(982): BinancePay\WC\Gateway\BinancePayGateway->process_payment(6701)#
   4 /home/dilip35/public_html/wp-content/plugins/woocommerce/includes/class-wc-
   checkout.php(1206): WC_Checkout->process_order_payment(6701, ‘binancepay’) #5/
   home/dilip35/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.
   php(461): WC_Checkout->process_checkout() #6 /home/dilip35/public_html/wp-includes/
   class-wp-hook.php(307): WC_AJAX::checkout(”) #7 /home/dilip35/public_html/wp-
   includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #8 /home/dilip35/
   public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /home/dilip35/
   public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘
   wc_ajax_checkou…’) #10 /home/dilip35/public_html/wp-includes/class-wp-hook.php(
   307): WC_AJAX::do_wc_ajax(”) #11 /home/dilip35/public_html/wp-includes/class-
   wp-hook.php(331): WP_Hook->apply_filters(false, Array) #12 /home/dilip35/public_html/
   wp-includes/plugin.php(476): WP_Hook->do_action(Array) #13 /home/dilip35/public_html/
   wp-includes/template-loader.php(13): do_action(‘template_redire…’) #14 /home/
   dilip35/public_html/wp-blog-header.php(19): require_once(‘/home/dilip35/p…’) #
   15 /home/dilip35/public_html/index.php(17): require(‘/home/dilip35/p…’) #16 {
   main}
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1674%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [ndeet](https://wordpress.org/support/users/ndeet/)
 * (@ndeet)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-1674/#post-15932523)
 * Hey,
 * the error is in the log you posted, you seem to have an invalid api key and or
   non-whitelisted IP address or something.
 * `”errorMessage”:”Invalid API-key, IP, or permissions for action,`
 * You need to make sure to have a merchant account and merchant api key that is
   able to process binance pay payments.

Viewing 1 replies (of 1 total)

The topic ‘Error!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-binancepay.svg)
 * [BinancePay for WooCommerce](https://wordpress.org/plugins/wc-binancepay/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-binancepay/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-binancepay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-binancepay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-binancepay/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ndeet](https://wordpress.org/support/users/ndeet/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/error-1674/#post-15932523)
 * Status: not a support question