• I’m unsure if I did everything correctly but here are the steps I followed:

    • I connected a wallet with the USDC currency. That part I’m assuming is the currency I’m getting?
    • I generated the API key and used the API key in WC “Live API Key” part?
    • I generated an IPN and put the webhook url

    So looks like everything was setup correctly…but I’m not 100% sure.
    I’m testing buying something. When I choose Nonpayments it opens a new URL that asks me to choose the asset. No matter what asset I choose it shows “ailed to create payment” when I click next and I can’t do anything else.
    I’m not sure what I’m missing here or what I need to do.
    Looks like I also have an error in my logs:

    [03-Jul-2024 20:43:20 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/previtusmedia/domains/previtusmedia.com/public_html/wp-content/plugins/nowpayments-for-woocommerce/includes/class-gateway.php:224
    Stack trace: 0 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp-hook.php(324): NPWC_Gateway->ipn_callback() 1 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-api.php(150): do_action() 4 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp-hook.php(324): WC_API->handle_api_requests() 5 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 7 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 8 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/class-wp.php(813): WP->parse_request() 9 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-includes/functions.php(1336): WP->main() 10 /home/previtusmedia/domains/previtusmedia.com/public_html/wp-blog-header.php(16): wp() 11 /home/previtusmedia/domains/previtusmedia.com/public_html/index.php(17): require(‘…’) 12 {main}

    thrown in /home/previtusmedia/domains/previtusmedia.com/public_html/wp-content/plugins/nowpayments-for-woocommerce/includes/class-gateway.php on line 224

Viewing 1 replies (of 1 total)
  • Plugin Author Syed Muhammad Usman

    (@smusman98)

    Hi??,

    I hope you are doing well?????,
    Confirm if you are using latest version of this plugin, if so share the Site Health report screenshot.

    Thanks
    Syed Muhammad Usman

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.