Title: Callbackhandler
Last modified: May 5, 2018

---

# Callbackhandler

 *  [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/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](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250519)
 * Hi Eric;
 * The CallbackHandler is used for integrating with the [https://paywithether.com/](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/](https://www.paywithether.com/get-in-touch/)
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250538)
 * How can you track successful transaction result from etherscan without callbackhandler?
 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250540)
 * 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](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250574)
 * Where can I set API key for paid version ?
 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250576)
 * 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](https://www.dropbox.com/s/t6vl5mkimq80l86/Screenshot%202018-05-05%2022.06.20.png?dl=0)
 * Hope that helps!
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250578)
 * 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 7 years, 11 months ago by [ericjen](https://wordpress.org/support/users/ericjen/).
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250583)
 * It shows me connected message like this.
 * ” Connected.
    Last checked at 05 May 2018, 18:57 ”
    -  This reply was modified 7 years, 11 months ago by [ericjen](https://wordpress.org/support/users/ericjen/).
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250589)
 * I will check again in detail and contact you
    Thanks for your help.
 * Eric Jen
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10250612)
 * 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](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10258415)
 * 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/](https://www.paywithether.com/get-in-touch/)
 *  Thread Starter [ericjen](https://wordpress.org/support/users/ericjen/)
 * (@ericjen)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10263896)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/pay-with-ether_15b2e6.svg)
 * [Pay With Ether for WooCommerce](https://wordpress.org/plugins/pay-with-ether/)
 * [Support Threads](https://wordpress.org/support/plugin/pay-with-ether/)
 * [Active Topics](https://wordpress.org/support/plugin/pay-with-ether/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pay-with-ether/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pay-with-ether/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [ericjen](https://wordpress.org/support/users/ericjen/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/callbackhandler/#post-10263896)
 * Status: not resolved