leewillis77 / pay-with-ether Goto Github PK
View Code? Open in Web Editor NEWPay with Ether enables customers to pay with Ether on your WooCommerce store.
Pay with Ether enables customers to pay with Ether on your WooCommerce store.
Hi,
I would like to know where can i modify the page after that a customer is placing a order. You know the thank you page where we can see the metamask and adresse ETH etc...
Where can i modify this page ?
Thanks
It's not really working for me.
I'll be looking for the answer myself, but any help is appreciated.
06-01-2018 @ 18:34:41 - Verifying API connection, received code : 200
06-01-2018 @ 18:34:41 - Verifying API connection, received response :
...
06-01-2018 @ 19:08:19 - Logging order with monitoring service, received code 200
06-01-2018 @ 19:08:19 - Logging order with monitoring service, received response {"success":true,"data":{"txId":"-Lxxxxxxxxxxxx8_a"}}
06-01-2018 @ 19:21:52 - Trigger received for PaymentReceivedEmail
06-01-2018 @ 19:21:52 - Payment method for order 2533 is pay-with-ether
06-01-2018 @ 19:21:52 - Recipient is [email protected]
06-01-2018 @ 19:57:20 - Access denied: Invalid txRef
I anonymised some of the data
I think we have to change the js file to something like the following:
function pwe_sendTransaction() {
const tx = {
to: window.pwe.payment_address,
value: web3.toWei(window.pwe.eth_value, 'ether'),
data: window.pwe.tx_ref,
}
window.ethereum.request({ method: 'eth_requestAccounts' }).then(function (accounts) {
window.ethereum.request({
method: 'eth_sendTransaction',
params: [tx],
});
})
}
window.addEventListener('load', function() {
if (typeof window.ethereum !== 'undefined') {
jQuery('.pwe-metamask-button').show();
jQuery('.pwe-metamask-button').on('click', pwe_sendTransaction);
}
});
Ive paid 2 months and we're just getting around to hooking this up.
Is this a scam?
Getting unauthorized key when its the actual key.
Hi, sorry if this is not the right place for questions...
Interesting project, I may be interested in contributing in the future. I like it that there is no gateway smart contract in between.
Questions for now:
How reliable (do you think) is the service of https://www.paywithether.com at this time.
Any possibility I can test on the ropsten network? (Or is that dependent on the paywithether API (not your service))
What does this mean exactly:
"Data is unnecessary if the payment is exact."
What happens if data (the extra 'Blockchain' field) isn’t sent. Will the transaction just fail after 50 min.?
Is there anything that will prevent me from manually reviving that order? (I also collect the sending ETH address from buyer, so I have another way of checking the transaction).
How is the transaction status pushed/pulled to my website? WP-REST API, wp_cron?
Why have you chosen for the data field, what data is stored in the data field? (or is it simply a unique hash). Have you chosen this because sender + receiving address + amount is not enough to pinpoint a unique transaction?
Questions for later:
Would it be feasible to create our own system for monitoring the blockchain (instead of relying on paywithether.com)?
I imagine using AJAX on the order-received page intermittently check the blockchain.
Great stuff!
Changes to notices and warnings on arithmetic with invalid strings in PHP 7.1 were made.
As a result of these changes, while debugging is enabled and no markup value has been assigned, the following will be output after selecting a payment method during checkout:
Warning: A non-numeric value encountered in src\gateway.php on line 129
Hi,
As subject says I'd need a crypto gateway (ETH and alt coins -> Eth and Binance networks) available with my Memberpress setup.
Is this plugin suitable? If not does any alternative exist?
Thanks.
Pino.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.