Need support on Grin payment on Wordpress Woocommerce platform

I found this payment processor from beam (https://github.com/vsnation/BeamPay), not sure if the mechanism is same? possible to ‘convert’ to grin code?

1 Like

Looks like it’s written in Python and use a Telegram bot. Not sure how it is exactly used, no examples
Strange thing, I cannot find the plugin mentioned anywhere on the Beam forum. A bit strange🤔

His store is not working, better write your own from scratch as you need it on PHP to make calls to wallet/node API, you can take some API calls as examples, but it is almost useless here. If you will find PHP devs who will do it or want to create bounty through Grin CC (even better), let us now, we can discuss Terms of Reference together :slight_smile:

Also check, you are not alone, we have Node.js/React developer here with same ideas: Grin Payment Service

Couldn’t we just use Nostr for this stuff? No need for grinmail or even a website

Sorry to keep mentioning this, but Nostr messages could even fill in the gap for contracts before contracts are implemented right?

nostr can be used as a slatepack message transport method but i don’t see how it could replace contracts since contracts require changes in slatepack message itself (some fields change, some are added etc) + wallet api’s + wallet UI (so we actually need to change grin wallet code and external software can’t do that).

2 Likes

There are two things to handle when making a transaction:

  1. Transaction construction process
  2. How we communicate partial transactions

Nostr, Tor, HTTPS or whatever else comes after, are transport methods (2.) and handle how we communicate unfinished transaction data. “Contracts” is just a temporary name for symmetrical transaction construction (1.) meaning that it does not have different API calls depending on who started the transaction.

3 Likes

I could contribute 10k GRIN bounty to CC if someone is interested. That’s affordable to my hobby for the moment. Let me know if you want my confimation by transfer/deposit.

5 Likes

Dear all, my bounty 10k GRIN for Grin payment Wordpress plugin still valid until 1GRIN=$3.
I’d like to remove paypal as alternative payment. Thanks.

1 Like

FYI, owner of Cryptoniq agreed to customize his plugin for integrating GRIN with manual payment method with reasonable price.
He also said if GRIN had something like API endpoints such as etherscan or tronscan. It would be easier to handle automatic payment by tracking transaction (I don’t think it can work with Grin as our transaction quite anonymous).

Are most plugins on other chains relying on explorers being good guys? I understand that this makes it easier than including your own node but it’s also theoretically more dangerous (dns spoof, evil explorer). Not sure what the best way is to be honest, especially when there are not many known explorers.

2 Likes

Better to use node/wallet json rpc api.

1 Like

My site now has realtime price of GRIN which converted from USD in product and checkout page. The final thing to do is finding expert to make the payment completely automatic without manual payment from buyer.

Am thinking of develop an web access point to grin-wallet via node/wallet RPC API.
The basic setup would be either to host only the grin-wallet client and connect to grin-node-live or host both node and wallet client. Then implement with JavaScript all commands and authentication to grin-wallet.
Also creating new accounts (wallets) should be possible. All hosted on the same wallet client. So no node installation and wallet client is neccessary for the end-customer.
If this basic setup is working we could talk about custom Plugins and auto payment with e.g. invoice commands - for me Wordpress is a bit pain to develop.
However I have no fixed timeline to start. Maybe we could find together in the future.

1 Like

Maybe checkout Easygrin
https://easygrin.org/

1 Like

Its closed-source and not client-running (use at your own risk), we need API/SDK for payments to easy integrate to any service/website, here it will be our experimental field for this approach.

1 Like

Take a look at old development things for good start:

1 Like

Not sure if really the rust language is necessary since the rpc endpoints speak json. Want to keep it simple and fast. Thanks for providing - all existing code will help at the beginning.

I think so too if we are talking about integration, we just need wrappers for every specific platform :slight_smile:

Thinking about the authentication from the users - I guess there will be no other way to provide web-accounts for wallet identification. But this makes it non-anonymous but for gaining more users it could be compromise. Any idea for avoiding identity?
Maybe just submitting the email and no personal data could work.

I think it could work like regular API - provide them key to login, it can be decoded as mnemonic phrase, very web3 way.

1 Like