ericjen
Forum Replies Created
-
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] Unable to verify purchaseThis is code part to create a transaction. I am not sure why they set home_url() as callbackurl.
………………………….
$code = $api_client->post(
‘transaction/create’,
[
‘to’ => get_post_meta( $order_id, ‘payment_address’, true ),
‘callbackUrl’ => home_url(),
‘ethVal’ => $eth_value,
‘reference’ => $tx_ref->get(),
‘dustAmount’ => $dust_amount,
]
);
……………………………here is request type of the paywithether
……………………………
{
apiKey: <YOUR_API_KEY>,
to: “0x6B6fAAbB987381e5452460449c2c82b85730261E”,
value: 0.1,
dustAmount: 0.00000123,
timeoutInSecs: 1200,
callbackUrl: “https://your-store.com/payment-complete-url”,
reference: “0xabcdef123456”
}
………………………………………only one field type is differ from both: ‘ethVal’ and ‘value’.
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] Unable to verify purchaseHi Dinmik
I am also user of this plugin. I am just curious about your result.
I don’t keep anymore messages after this:”Order details submitted to PayWithEther.com for monitoring. txId~” in WC order detail pages. It doesn’t handle callback from PayWithEther at all on my side. Did you modify any parts of this plugin ?Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerHi 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
EricForum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerI 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,
]Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerI will check again in detail and contact you
Thanks for your help.Eric Jen
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerIt shows me connected message like this.
” Connected.
Last checked at 05 May 2018, 18:57 ”- This reply was modified 6 years, 10 months ago by ericjen.
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerYes, 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 6 years, 10 months ago by ericjen.
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerWhere can I set API key for paid version ?
Forum: Plugins
In reply to: [Pay With Ether for WooCommerce] CallbackhandlerHow can you track successful transaction result from etherscan without callbackhandler ?