Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mohsinoffline

    (@mohsinoffline)

    Hi there,

    You can run the plugin on a regular WordPress site and look into the requests on the checkout blocks page for this information. Typically you would need the details as below:

    [
    {
    "key": "authnet_nonce",
    "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    },
    {
    "key": "authnet_data_descriptor",
    "value": "COMMON.ACCEPT.INAPP.PAYMENT"
    },
    {
    "key": "billing_email",
    "value": "[email protected]"
    },
    {
    "key": "billing_first_name",
    "value": "Igor"
    },
    {
    "key": "billing_last_name",
    "value": "Biscan"
    },
    {
    "key": "paymentMethod",
    "value": "authnet"
    },
    {
    "key": "paymentRequestType",
    "value": "cc"
    },
    {
    "key": "wc-authnet-new-payment-method",
    "value": false
    }
    ]

    The “authnet_nonce” and “authnet_data_descriptor” values must contain the values returned by the Accept.js library’s dispatchData method:

    https://developer.authorize.net/api/reference/features/acceptjs.html#response-handling

    Thread Starter Xmod08

    (@xmod08)

    Thank you, @mohsinoffline! I will look into it.

    Plugin Author mohsinoffline

    (@mohsinoffline)

    Closing due to no further follow up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce Store API Implementation’ is closed to new replies.