BITCOIN payments OP RETURN parameter

0 votes

I want to automate BITCOIN payments and I need to make a donate button that sends an additional OP_RETURN parameter with the value of the encrypted order id. I just want to send a small message with the payment. I have documented myself a little bit and I saw that OP_RETURN parameter may help me.

OP_RETURN : http://bitzuma.com/posts/op-return-and-the-future-of-bitcoin/

How do I make that happen? Is there a wallet that does that? Or I have to do it from bitcoin-cli?

I also want to make this in PHP and here is an example that i don't understand : https://github.com/coinspark/php-OP_RETURN

I mean I need a button that will make a payment with that encrypted orde

Mar 16, 2022 in Blockchain by Soham
• 9,710 points
642 views

1 answer to this question.

0 votes

Try doing the server side via encrypted and authenticated client using BIP 70 - AKA The Bitcoin Payment Protocol. You can create a browser side client to do as you described but you do not want to trust the data the client sends along without verification and checking the transaction before it is sent to the network will not make you trustworthy as a merchant but rather a MIM between the user and the blockchain.

answered Mar 24, 2022 by Rahul
• 9,680 points

Related Questions In Blockchain

+1 vote
1 answer
0 votes
1 answer

How do I query Blockchain bitcoin locally?

You could use json RPC provided by ...READ MORE

answered Apr 19, 2018 in Blockchain by Christine
• 15,790 points
1,628 views
+1 vote
2 answers

What if a bitcoin clients could create identical private keys?

If this happens, then Person B will ...READ MORE

answered Aug 28, 2018 in Blockchain by Evan
951 views
0 votes
1 answer

How Bitcoin wallet find unspent transaction output(UTXOs)?

The wallet apps are connected to the ...READ MORE

answered May 22, 2018 in Blockchain by Shashank
• 10,400 points
1,267 views
0 votes
0 answers

BITCOIN payments, OP_RETURN parameter

I want to automate BITCOIN payments and ...READ MORE

Apr 4, 2022 in Blockchain by Rahul
• 9,680 points
355 views
0 votes
0 answers

How do I use PHP to get the current year?

I want to put a copyright notice ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
623 views
0 votes
0 answers

Need XAMPP with PHP 5.4 version - windows

Can someone please share with me any ...READ MORE

Jun 21, 2022 in PHP by narikkadan
• 63,600 points
1,004 views
0 votes
0 answers

Switch php versions on commandline ubuntu 16.04

On my Ubuntu 16.04, I've installed PHP ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
642 views
0 votes
1 answer

How to set fee in raw bitcoin transaction using btcutil

To answer your question, the settxfee is ...READ MORE

answered Mar 24, 2022 in Blockchain by Rahul
• 9,680 points
924 views
0 votes
1 answer

How can I verify my bitcoin transaction independently?

Transactions are verified by miners, they do ...READ MORE

answered Mar 24, 2022 in Blockchain by Rahul
• 9,680 points
477 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP