Bitcoin Forum
November 08, 2024, 03:35:07 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Crypto payment provider that allows split payments  (Read 141 times)
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 04, 2022, 08:43:05 PM
Merited by hugeblack (4)
 #1

Hi all

Do you know any crypto payment providers like BitPay that allows slit payments. By that I mean if a buyer buys something for 1BTC to send 0.5BTC to address A and 0.5BTC to address 2, thus split the payment by doing one transaction

Charles-Tim
Legendary
*
Offline Offline

Activity: 1722
Merit: 5201


Leading Crypto Sports Betting & Casino Platform


View Profile
January 04, 2022, 08:47:14 PM
 #2

Hi all

By that I mean if a buyer buys something for 1BTC to send 0.5BTC to address A and 0.5BTC to address 2, thus split the payment by doing one transaction
That won't be possible. Miners will only include the transaction the buyer broadcasted, into block for it to be confirmed (I mean buyers will broadcast the transaction, while miner will will include it into block). If you create something like this, this may leave the buyer no choice than to pay into two addresses following specific instructions, but this is highly not recommendable as two transaction fees will be charged for each transaction.

Or maybe it can be in a way once the transaction sent by the buyer is confirmed, maybe it will be possible for a wallet to automatically send certain amount you expect to another wallet. I believe this will be possible but I will leave it for people that know about it to answer you.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 04, 2022, 09:24:48 PM
 #3

Hmm ok, is there a way to send one transaction to wallet A then automatically or somehow via API  from wallet A to wallet B another amount?

BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1694
Merit: 8326


Fiatheist


View Profile WWW
January 04, 2022, 09:42:11 PM
Merited by ABCbits (1)
 #4

You can't give a Bitcoin invoice and receive your payment directly in two addresses. An invoice looks like this:
Code:
bitcoin:bc1qm3kz3snga6cvkwemys6hqarxfzxvqvua79naxh?amount=5&time=1641332420

Once the payer scans it/loads it they can only create one output, funding the specified address with the specified amount (if any). The easiest solution to your problem is to just give one address and then split it, in the back-end, into two. This is what BitPay essentially does.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 04, 2022, 10:15:32 PM
 #5

The easiest solution to your problem is to just give one address and then split it, in the back-end, into two. This is what BitPay essentially does.

Thanks for this, but now I'm a little bit confused. So splitting is possible, but in the backend? How?

BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1694
Merit: 8326


Fiatheist


View Profile WWW
January 04, 2022, 10:20:40 PM
 #6

Thanks for this, but now I'm a little bit confused. So splitting is possible, but in the backend? How?
Yes, you could setup a program that waits for incoming transactions and when someone purchases, to spend that UTXO (Unspent Transaction Output) and create others. This requires you to be a little bit familiar with programming and Bitcoin.

Here's the easy solution for you: When you have a new purchase, send the money in to two addresses instead of keeping it in one.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 04, 2022, 10:22:23 PM
 #7

I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself

BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1694
Merit: 8326


Fiatheist


View Profile WWW
January 04, 2022, 10:26:18 PM
 #8

I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself
Would you mind telling us why you want such thing? It seems like an xy problem. There's no reason I can quickly think of where you need to get the money in two different addresses. It makes the transaction weight more, which means higher fees, and provides nothing to your privacy.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
January 05, 2022, 02:39:27 AM
 #9

I am a developer. But I was thinking about using already existing solution so I don't have to implement it myself
Would you mind telling us why you want such thing? It seems like an xy problem. ~
Seems like it is. I assume OP is still trying to figure out and seek a workaround for his old problem:

Let me give you an example, let's say I have sellers and buyers on my site. Something costs 100 altcoins, when buyer wants to buy that one thing, I split payments between me and seller. I send 10 altcoins to my address and 90 altcoins to seller's address.

The same with tipping, when user A wants to tip user B with 100 altcoins, 10 altcoins goes directly to my crypto address and 90 altcoins goes directly to user B's crypto address

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
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 05, 2022, 07:16:35 AM
 #10

I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

ABCbits
Legendary
*
Offline Offline

Activity: 3052
Merit: 8069


Crypto Swap Exchange


View Profile
January 05, 2022, 09:13:08 AM
Merited by hugeblack (3)
 #11

I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Have you considered different approach such as
1. Seller manually send you the fee every month or after reaching X dollars? Mycelium Gear have such practice.
2. You're the one hold the coin, where miner can request withdraw manually or automatically (every day X or after reaching X dollar)

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 05, 2022, 03:40:39 PM
 #12

I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Have you considered different approach such as
1. Seller manually send you the fee every month or after reaching X dollars? Mycelium Gear have such practice.
2. You're the one hold the coin, where miner can request withdraw manually or automatically (every day X or after reaching X dollar)

Any approach is good as long as the seller can get his money whenever he wants to, if it can be done automatically it's even better

hugeblack
Legendary
*
Offline Offline

Activity: 2688
Merit: 3969



View Profile WWW
January 06, 2022, 08:55:34 AM
 #13

I want to build a marketplace, so there is a buyer and a seller. So when a buyer buys something from the seller I take the fee. Thus buyers money goes to my account like (10%) and the rest to the seller

Most of marketplaces that provide such services are centralized, meaning that you do the following:

 - Create an account in the marketplace.
 - When a user purchases a certain amount from through you, 10% goes to you.
 - After a period of time, a week or a month, you can review your balance and withdraw all amounts.

Thus, the development is in the background by managing the databases, where 10% is added as an update in the database, and in the end all the money and the possibility of withdrawing to your Bitcoin address are collected.

This can be done individually for each transaction, but in this case the user will be given two addresses, the first containing the amount and the second containing 10% of that amount.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
adamcro (OP)
Member
**
Offline Offline

Activity: 276
Merit: 23


View Profile
January 06, 2022, 09:26:27 AM
 #14

So there is no ready-made solution for it from payment providers?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!