Pages:
Author

Topic: Pay button with 2 receiving addresses (Read 194 times)

sr. member
Activity: 475
Merit: 253
ARCS - A New World Token
September 14, 2021, 08:04:47 PM
#23
This thing is being programmed thru smart contract. If I were you, simply forget about this idea because both transaction will eat up gas fee. Simply talk to your partner and set up a day cut off, and simply divide the money base from the transaction. Just try to imagine how much gas fee it will eat up if everytime it will send to both addresses.

I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses, first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks
legendary
Activity: 1932
Merit: 1273
September 14, 2021, 10:46:27 AM
#22
Its a logicly better but its different from what OP want to make since its said that " When a customer pay, bitcoins will be send to both addresses". May OP should describe the bussiness process clearer here.
Sure, OP might want differents terms, but based on OP history, I presume he/she might not know cryptocurrencies very well. I just suggesting maybe my way is a more viable approach than what OP want as of now. As matter of fact, OP also didn't state clearly how the tipping process should be working within the site, or maybe OP didn't explain why he/she want it that way.
full member
Activity: 686
Merit: 103
www.fintropy.io
September 13, 2021, 10:04:01 PM
#21
I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses, first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks

 This system is not so smart. It can just transfer money from one address to another,but it can't calculate and divide money between two addresses, so I think that you have to do it in the following way. You set your site seller address, so that customer sends money to this address and in terms of commission, it must be one more transaction.
jr. member
Activity: 187
Merit: 1
www.cd3d.app
September 13, 2021, 07:17:53 PM
#20
It's an idea that makes transferring and sending more complicated if like me i'm going to use it simple and you should make it simpler in the checkout process everyone they always need simplicity and soon you can look more into this.
legendary
Activity: 1722
Merit: 1014
September 13, 2021, 06:58:34 PM
#19
I think it's better to use linear scheme where customer pays you, sending money to your address, and the you send it further - to the seller's address. It would be much easier.
legendary
Activity: 3108
Merit: 1029
September 13, 2021, 06:41:31 PM
#18
I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses,
If you meant about cross-chain and then the altcoin must be bridged and it's not worth with the fees that you must pay it to the network except you're using the wrapped version of bitcoin and this may possible.

first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks
have you ever heard this site before? https://multisender.app/ Basically, you're building a multi sender app for yourself. You must use token sender code as a way to make it happen but i guess you must also combining it with the various code. Remember that when your customer was paying altcoin and you want it to be converted into bitcoin and it will be sent to your addresses. that means if you must pay so many fees. The only possible thing to build this on the one chain transaction.
member
Activity: 155
Merit: 13
September 13, 2021, 06:20:44 PM
#17

It's a viable option but it's far from simple, it would be costly and overkill. I'm sure the better approach is to reconstruct/redesign how the tipping system within the site should work. For example, if user A tipping BTC to user B, the funds would go to the platform address, so the database design will only collect how many funds user B has, if B wants to withdraw, then the amount from the user balance should be deducted.

It is surely a way simpler approach than making a smart contract.


Its a logicly better but its different from what OP want to make since its said that " When a customer pay, bitcoins will be send to both addresses". May OP should describe the bussiness process clearer here.
legendary
Activity: 1932
Merit: 1273
September 13, 2021, 03:15:05 AM
#16
It could be a simpler solution. Creating the math logic in the server for splitting 1 transaction to 2 transaction before ask user to makes the transaction on BTCPay.
But it will be problem if the user only pay 1 transaction and ignore the 2nd transaction.
That's not efficient, why should the donator pay to two different addresses? they only want to tip the user not the platform. Also, It would consolidate small input for the platform.

So, creating own smart contract is the perfect solution like many people mention above.
It's a viable option but it's far from simple, it would be costly and overkill. I'm sure the better approach is to reconstruct/redesign how the tipping system within the site should work. For example, if user A tipping BTC to user B, the funds would go to the platform address, so the database design will only collect how many funds user B has, if B wants to withdraw, then the amount from the user balance should be deducted.

It is surely a way simpler approach than making a smart contract.
member
Activity: 155
Merit: 13
September 12, 2021, 06:32:57 PM
#15
I am developer that's why I can't believe there isn't anything like PayPal'y donate button or link to CashApp like https://cash.app/$username


Even paypal donate button, is it possible to split the donation to 2 address with the percentage fees u mention above?
I dont think its possible, blockchain is more flexible with the option u can build anything u want by code them on smart contract mate.

Its not a simple, but its possible.
legendary
Activity: 1932
Merit: 1273
September 12, 2021, 10:52:21 AM
#14
Welp, you can just simply put the users' address on your site it doesn't require any payment processor. You can even create your own "button" and then put the users' address on it.

If you talking about payment links, you should take a look at this: https://blog.blockonomics.co/how-to-create-a-bitcoin-payment-link-a032c156590b.

The problem is, to implement such requirements where when user tipping other, and you got a fee. It requires a custom solution. I can't name any services but BTCPay. If you are a developer, you should considerately take a look at the docs, it also supports altcoins payments. I don't think there is an easy/simple solution for your need, currently.
member
Activity: 276
Merit: 23
September 12, 2021, 10:20:10 AM
#13
I am developer that's why I can't believe there isn't anything like PayPal'y donate button or link to CashApp like https://cash.app/$username
legendary
Activity: 1932
Merit: 1273
September 12, 2021, 08:15:40 AM
#12
That’s bad. Now I start understanding why people don’t like crypto.~
There is nothing ready-made solution to suits whatever you need in any space. You have to adapt or modify it with your business requirement, and also have some self-thought whether your requirement is plausible or not!

I came across you at Beginner & Help board. Here is my only suggestion, hire some developer to consult and/or create the requirement you need. I believe the dev will also give you better suggestions/options about your particular need.

Heck, I believe even in the non-crypto payments processors, your requirements are kind of difficult to implement. I'm sure there is a better option about how you should design your tipping system within your site. And you will get that if you hire the right people.
member
Activity: 276
Merit: 23
September 12, 2021, 04:21:50 AM
#11
That’s bad. Now I start understanding why people don’t like crypto. Is there any service that makes it easy to tip people through my site? Basically transfer money from one address to another
legendary
Activity: 2758
Merit: 1004
Buzz App - Spin wheel, farm rewards
September 11, 2021, 10:41:15 PM
#10
I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses,
bitcoin addresses and altcoin addresses are different. you can make 1 for bitcoin, and another 1 for altcoin. You need to choose what altcoin is your payment address such as ETH, BNB, or something else.

first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks
As far as I know, it can't be done, although it could cost a lot of fee for your costumer. if your customer chooses to ship to the first address, the second address will not receive it. what you can do is divide the payment after it enters one of the addresses you attach.
legendary
Activity: 3080
Merit: 1353
September 11, 2021, 10:00:33 PM
#9
I am new to bitcoin technology, I want to build Altcoin payment button with 2 bitcoin addresses, first is my site address where I will receive a small commission fee, second is my site seller address. When a customer pay, bitcoins will be send to both addresses, is that possible? Thanks

As others have said, you need to build your own smart contract to be able to fulfill your request.

So the question is, are you technically enough to create your own smart contract? If not then I will suggest that you don't make things complicated for you in the beginning. It might take you a bit of your time to send it manually and break it down to 2 addresses, but it is safe for you in the beginning.
legendary
Activity: 2534
Merit: 1397
September 11, 2021, 09:10:05 PM
#8
Its possible if u can code contract that split the percentage of the payment to you and the seller, but i dont know its possible on Bitcoin without additional layer to deploy contract.
It could be easier if u used Binance Smart Chain or another smart contract platform for deploying it.

Im googlin it, maybe this issue is similar
https://www.reddit.com/r/ethereum/comments/65n2da/a_smart_contract_that_lets_you_split_payments/

It won't work for me, I need simple solution. Is there any solution that makes it easy to transfer altcoins from one address to another? So 1 on 1 which si not mine?

It wont work without contract i think, since theres logical thing (percentage division) need to be executed before its splitted to the 2 addresses.
It won't work indeed. Creating a smart contract is the solution here especially you are talking with Altcoins.
If you are afraid of high transaction fees on Ethereum, there are already a lot of alternatives for Ethereum now, Layer 1 chains or Layer 2 chains.
You can try Solana as an alternative for Ethereum or L2 built on top of Ethereum, like Matic. Or even try Binance Smart Chain which got almost similar to Ethereum.
member
Activity: 155
Merit: 13
September 11, 2021, 06:52:36 PM
#7
Its possible if u can code contract that split the percentage of the payment to you and the seller, but i dont know its possible on Bitcoin without additional layer to deploy contract.
It could be easier if u used Binance Smart Chain or another smart contract platform for deploying it.

Im googlin it, maybe this issue is similar
https://www.reddit.com/r/ethereum/comments/65n2da/a_smart_contract_that_lets_you_split_payments/

It won't work for me, I need simple solution. Is there any solution that makes it easy to transfer altcoins from one address to another? So 1 on 1 which si not mine?

It wont work without contract i think, since theres logical thing (percentage division) need to be executed before its splitted to the 2 addresses.
member
Activity: 276
Merit: 23
September 11, 2021, 06:00:08 PM
#6
Its possible if u can code contract that split the percentage of the payment to you and the seller, but i dont know its possible on Bitcoin without additional layer to deploy contract.
It could be easier if u used Binance Smart Chain or another smart contract platform for deploying it.

Im googlin it, maybe this issue is similar
https://www.reddit.com/r/ethereum/comments/65n2da/a_smart_contract_that_lets_you_split_payments/

It won't work for me, I need simple solution. Is there any solution that makes it easy to transfer altcoins from one address to another? So 1 on 1 which si not mine?
full member
Activity: 490
Merit: 107
September 11, 2021, 05:42:53 PM
#5
Its possible if u can code contract that split the percentage of the payment to you and the seller, but i dont know its possible on Bitcoin without additional layer to deploy contract.
It could be easier if u used Binance Smart Chain or another smart contract platform for deploying it.

Im googlin it, maybe this issue is similar
https://www.reddit.com/r/ethereum/comments/65n2da/a_smart_contract_that_lets_you_split_payments/
member
Activity: 276
Merit: 23
September 11, 2021, 05:20:28 PM
#4
I have not seen this. You can make a smart contract on Ethereum, but the fees will be expensive.
It is a bad idea for a user to pay 2 bills for a product or service because they will notice it.
The more addresses in the transaction, the higher the commission.
It is better to send payments to a separate address, and at the end of the month the site will send you your reward.

Not 2 bills, it's just transferring money from one address to 2 addresses
Pages:
Jump to: