• Resolved mgraska

    (@mgraska)


    The plugin is working great in terms of checkout but what doesn’t work is adding/saving credit card info in the “Payment Methods” section of the user account (/account/add-payment-method/): https://snipboard.io/yrdW8B.jpg

    Whenever you try to add/save a payment method it results in a critical error: https://snipboard.io/VAUxYq.jpg

    This is the log response:

    CRITICAL Uncaught Error: Call to a member function getTimestamp() on null in /wp-content/plugins/woocommerce-square/includes/Gateway.php:1138
    Stack trace:
    #0 /wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php(1687): WooCommerce\Square\Gateway->get_order_with_unique_transaction_ref(Object(WC_Order))
    #1 /wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php(550): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Payment_Gateway->get_order(Object(WC_Order))
    #2 /wp-content/plugins/woocommerce-square/includes/Gateway.php(264): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Payment_Gateway_Direct->get_order(Object(WC_Order))
    #3 /wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-fram in /nas/content/live/reddyvineyards/wp-content/plugins/woocommerce-square/includes/Gateway.php on line 1138

    This also goes for attempting to add a card in the backend of the site (https://snipboard.io/Kha0dB.jpg) except it doesn’t submit but throws an error in the console (https://snipboard.io/Kha0dB.jpg).

    What’s going on here?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot Add/Save a Payment Method (Credit Card)’ is closed to new replies.