Support » Plugin: WooCommerce Satispay » Sandbox not working

  • Resolved Delite Studio

    (@delitestudio)


    Hi, we are using your plugin in our e-commerce https://cuneotrekking.com/negozio/ but we’re having problems with the Sandbox.

    When enabled, filling every mandatory data and proceeding with payment in checkout page, it keeps saying “Errore durante l’acquisto. Riprova.”

    When disabled it displays the payment page correctly.

    We’re trying to use sandbox to troubleshoot e-commerce because the Satispay payment doesn’t work as expected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Other technical results from our tests: when using sandbox after checkout process it logs this PHP error:

    PHP Notice: Undefined property: stdClass::$checkout_url in /home/cuneotrekking/public_html/wp-content/plugins/woo-satispay/wc-satispay.php on line 162

    Given by:

    return array(
      'result' => 'success',
      'redirect' => $checkout->callback_url
    );

    At that point $checkout object is:

    stdClass Object
    (
        [code] => 34
        [message] => Unauthorized
        [wlt] => Gq8WGcNM
    )

    And, as we can see, it doesn't contain the property callback_url.

    Why we are receiving an "Unauthorized" message having a correct bearer?

    As a side note, plugin must check that $checkout does not contain an error and act as required giving a detailed error. At the moment it try to force a 'result' => 'success' without checking the contents of $checkout.

    • This reply was modified 1 year, 10 months ago by  Delite Studio.
    • This reply was modified 1 year, 10 months ago by  Delite Studio.
    Plugin Author Satispay

    (@satispay)

    Ciao,
    ricevi questo errore poichè il security bearer utilizzato è errato o non è per l’ambiente di staging. Come scritto nella documentazione va richiesto a business@satispay.com.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sandbox not working’ is closed to new replies.