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/
How can you track successful transaction result from etherscan without callbackhandler ?
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.
Where can I set API key for paid version ?
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!
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.
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.
I will check again in detail and contact you
Thanks for your help.
Eric Jen
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,
]
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/
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