Support » Plugin: Pay With Ether for WooCommerce » Callbackhandler

  • Hi Lee,
    I have a question about your plugin.
    I am not sure if callbackhander works from paywithether after sending payment by metamask.

    In addtion not sure about following part in main.php, because can’t find any setting for POST Data Type “pweCallback” in your plugin.
    ………………………….
    if ( isset( $_POST[‘pweCallback’] ) ) {
    $callback_handler = new CallbackHandler();
    $callback_handler->run();
    }

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Lee Willis

    (@leewillis77)

    Hi Eric;

    The CallbackHandler is used for integrating with the https://paywithether.com/ service. If you have that set up and you’re having problems, I’d suggest contacting their support team : https://www.paywithether.com/get-in-touch/

    Thread Starter ericjen

    (@ericjen)

    How can you track successful transaction result from etherscan without callbackhandler ?

    Plugin Author Lee Willis

    (@leewillis77)

    If you are just using the free plugin, and aren’t subscribed to the paywithether.com service then you need to track transactions manually and update the order statuses yourself.

    Thread Starter ericjen

    (@ericjen)

    Where can I set API key for paid version ?

    Plugin Author Lee Willis

    (@leewillis77)

    Hi;

    You can find the settings under WooCommerce » Settings » Payments » PayWithEther » Manage

    https://www.dropbox.com/s/t6vl5mkimq80l86/Screenshot%202018-05-05%2022.06.20.png?dl=0

    Hope that helps!

    Thread Starter ericjen

    (@ericjen)

    Yes, I had already set API key in woocommerce setting page you mentioned.

    Woocommerce => settngs => checkout => pay-with-ether =>

    PayWithEther API Key : ~ ~ ~

    • This reply was modified 4 years, 3 months ago by ericjen.
    Thread Starter ericjen

    (@ericjen)

    It shows me connected message like this.

    ” Connected.
    Last checked at 05 May 2018, 18:57 ”

    • This reply was modified 4 years, 3 months ago by ericjen.
    Thread Starter ericjen

    (@ericjen)

    I will check again in detail and contact you
    Thanks for your help.

    Eric Jen

    Thread Starter ericjen

    (@ericjen)

    I am not sure why you set home_url() instead of REST endpoint as a callbackurl.
    How can you handle the callback in the home page ?

    ‘transaction/create’,
    [
    ‘to’ => get_post_meta( $order_id, ‘payment_address’, true ),
    ‘callbackUrl’ => home_url(),
    ‘ethVal’ => $eth_value,
    ‘reference’ => $tx_ref->get(),
    ‘dustAmount’ => $dust_amount,
    ]

    Plugin Author Lee Willis

    (@leewillis77)

    Hi Eric;

    I don’t really have the time to explain design decisions made with the code, or to explain it bit by bit. The approach is fine, and works. As I said previously, if you have the paywithether.com integration set up and you’re having problems, I’d suggest contacting their support team : https://www.paywithether.com/get-in-touch/

    Thread Starter ericjen

    (@ericjen)

    Hi Lee,

    The approach is fine, but I think your plugin doesn’t work to confirm successful payment. After completing ether payment, it doesn’t update order status and note. I supposed it was related to callbackhandler class in your plugin.

    I wanted to confirm it works correctly and inform you. I don’t want to be rude to your team.

    Thanks for your help
    Eric

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Callbackhandler’ is closed to new replies.