Giter Club home page Giter Club logo

pay-with-ether's People

Contributors

leewillis77 avatar morelazers avatar sparrowdigital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pay-with-ether's Issues

Thank You Page

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

Failure

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

MetaMask no longer injects Web3

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);
	}
});

Source: MetaMask docs

Does this still work?

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.

Questions

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!

Memberpress integration.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.