Questions tagged [payments]
For questions regarding the process or mechanism of payments within Stellar.
57
questions
22
votes
4
answers
346
views
Instantly distributing payments to multiple parties
Is it possible to use Stellar to create an address that will automatically distribute payments to two different parties?
For example, if 10 XLM is received to address x, 8 XLM are instantly ...
10
votes
3
answers
285
views
How do I keep track of payments to an address with JS SDK?
Let's say I have a service that requires that a user send some XLM to another account in order to activate their account, what's the best way to actually verify when it's been paid?
I can think of a ...
6
votes
1
answer
36
views
Stellar Payments: Routing Algorithm
Where can I get information on the routing algorithm employed in Stellar ?
6
votes
1
answer
122
views
Stellar Bridge not POSTing callbacks with mac_key configured
Background: using Bridge Server v0.0.30.0
I'm making payments to a test account and looking to receive callbacks. I've been successful so far, but I'm going through securing the callback endpoint. ...
5
votes
3
answers
281
views
Is there a way to get a list of payments on account along with the transaction memo?
It seems the the transactions for account will give you back a memo, but no way to get the payments info such as the amount without making another API call on the individual payment for transaction.
...
5
votes
1
answer
298
views
How do 2 people sign a transaction from different clients?
In the multisig example located in the developer documents everything is listed in sequence in a single client "session" so to speak.
https://www.stellar.org/developers/js-stellar-base/reference/base-...
5
votes
1
answer
353
views
Is there any plan from Stellar to allow website owner to accept payments with Stellar on their site?
Is there any plan from Stellar to allow website owner to accept payments with Stellar on their site?
4
votes
3
answers
280
views
What knowledge and skills are needed to create an App payment checkout with Stellar Network?
After reading about lighting network from Bitcoin, i stumbled into this website that is "Testing" payments through lighting network which supposedly makes the transactions faster.
https://store....
4
votes
2
answers
175
views
Horizon returns 404 when trying to query accounts/{ID}/payments
I've spun up a Stellar horizon server using the Docker image mentioned in the repo below
https://github.com/stellar/docker-stellar-core-horizon
It spins up just fine but I don't get any payment ...
3
votes
3
answers
147
views
How does Stellar manage to cut the cost of remittances?
Disclaimer: I'm not a developer and just starting to learn Stellar and reading the documentation
The way (international) payments work (simplified):
When making a purchase on an app, the payment ...
3
votes
1
answer
123
views
Why doesn't Stellar match the other order?
I have a question about Stellar exchange matching engine.
Scenario: I want to trade AA coin for BB coin
(2 Buy orders & 1 Sell order)
Buy Orders (Buy BB | Price 1 BB = 90 AA)
Order#1 Volume 10 ...
3
votes
2
answers
280
views
Verifying a transaction
For doing a payment from a distribution account i'd like to use the destination account as a channel. Therefore i'd like to implement the functionality as follows:
there are 3 accounts involved:
...
3
votes
1
answer
501
views
Can anyone explain what passive offers achieve?
I've read https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-passive-offer but I can't quite wrap my head around the purpose of a passive offer. Can anyone explain their ...
3
votes
1
answer
70
views
Why is amount an integer in manage_offer operation?
The Manage Offer API doc states the amount is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including ...
3
votes
2
answers
303
views
How to use cURL to create transactions
I want to integrate my POS software with Stellar.
I'm trying cURL but I can't find how to create a transaction between 2 accounts. I found SDK for Java, Python, Ruby and C# but I can't use them in my ...
3
votes
1
answer
41
views
Minor difference in XLM balance
I have a question regarding the calculation of the XLM balance in this case: https://stellarchain.io/address/GATESQVJTO2QPFLLDS4VZQ3X6WX6FSICR6IFXIAMGMJYCMEE645KKTSM
The current balance is 1.99998, ...
3
votes
1
answer
186
views
Path payment accounting
I've noticed a weird path payment and I'm confused as to how to interpret it.
The payment is represented on stellar.expert as GBN2KFK sending 3.333 XLM to a path and GATEMHC receiving 1 XLM at the ...
3
votes
0
answers
52
views
Legal Question before going live
As I'm getting closer to have a product (timed payments)
which I would like to activate on the Stellar public net, I'm wondering
which legal aspects I have to consider.
The setup for the current ...
2
votes
1
answer
440
views
is it possible to perform multiple payment operation in single transaction?
Scenario:
when user pay(100%) on my website using my API in which I want to perform 2 payment operation
1. goes to production account(50% amount)
2. goes to manager account (50% amount)
is this ...
2
votes
4
answers
151
views
Send funds with Fees Included or Not Included?
Is it possible, to program in an option for sending funds minus fees, or plus fees? To have a choice, depending on the situation.
For example, I want to use Lumens to pay for coffee, it's $5.00.
...
2
votes
2
answers
325
views
Can't see the history of an account that paid me
One of the accounts on my platform received a payment on 15/07/18 from THIS ACCOUNT but I can't retrieve the history of the sender account from any explorer.
Here is the screenshot of payments from ...
2
votes
2
answers
429
views
Get the operation record of a payment
Using the javascript sdk, I'm sending a payment like so:
const operation = Operation.payment({
destination: toAddress,
asset: asset,
amount: amount.toString()
});
const account = await ...
2
votes
2
answers
149
views
Relation between Operation, Payemnt and Effect
What is the relation between “Operation of type: payment”, “Payment” and “Effect of type: account_credited”?
Can “Payment operation” be submitted and not results in “Effect” (e.g. because of ...
2
votes
1
answer
92
views
Which conditions need to be fulfilled for a payment operation to succeed?
I'm currently wrapping my head around what is necessary to be (kind of) certain that a Stellar payment will succeed.
A stellar payment has a source, a destination, an asset, and an amount.
What could ...
2
votes
1
answer
103
views
What Stellar payment service is this site using?
This site accepts XLM payments. How is this implemented here? How would one implement this?
2
votes
1
answer
93
views
Payment Deducted from channel account and not from source account
I am trying to implement the concept of channels in my stellar project.
I have refered https://www.stellar.org/developers/guides/channels.html this link.
As it is said that, the source account of the ...
2
votes
1
answer
119
views
Recurring payments or subscriptions
I was wondering if there's a good way to setup some kind of scheme with Stellar to implement recurring payments without resorting to e.g. escrow accounts with pre-arranged timed transactions.
I've ...
2
votes
1
answer
145
views
Problem of implementation of Path Payment in a Wallet?
I made a Java implementation of a Path Payment.
I created 3 accounts. For example:
the first plays the role of issuer. He issued 2 assets (USD, EUR)
The second has USD
The third, EUR.
I created an ...
2
votes
1
answer
190
views
How to add memo to transaction?
I want to create a transaction with a memo, but i keep getting error
this.memo.toXDRObject is not a function at TransactionBuilder.build
code:
let fee = await get_mining_fee();
const txOpts =...
2
votes
0
answers
46
views
Payment Gateway for a cloned Stellar blockchain network
We have cloned/forked a new blockchain network using Stellar. It has some API documentation that we can create a payment gateway as well, however, we are looking for an open-source payment gateway the ...
2
votes
1
answer
75
views
SEP 0024 Question: Where do the /info response fields referenced below come from?
I'm trying to develop an anchor server and going through the SEP0024 documentation. The documentation says "Provide a full-featured implementation of /info". Where does one find or create the fields ...
2
votes
0
answers
92
views
How to cash out a currency?
I am implementing an anchor which will send transactions on behalf of users but I am very confused with one question,
How to cash out the assets in the account which is paid to me from another anchor ...
2
votes
2
answers
95
views
MEMO N/A after submitting to bridge endpoint /builder
curl -X POST \
http://localhost:8006/builder \
-H 'Content-Type: application/json' \
-d '{
"source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T",
"memo": {
"text": "...
1
vote
2
answers
128
views
How Do I "distribute" multiple times?
I can create 500,000,000 (5 hundred million) tokens.
I want to release 2,000,000 and put on SDEX (and other XLM exchanges).
Then, once sold, do a Pre-ICO and distribute 100,000,000 for this sale. ...
1
vote
1
answer
106
views
Is Operation Id unique?
I am confusing about operation id. Is it unique within the network or within a transaction?
In other words, will it be enough to store only OperationId in DB or should the Primary Key be a complex (...
1
vote
1
answer
82
views
How I can buy SLT for gryvna (Ukrainian money)?
Is that possible to buy SLT (SmartLands token) for UAH (Ukrainian hryvnas)?
1
vote
1
answer
425
views
XLM to USD Path Payment - is 'op_too_few_offers' due to me being on Testnet?
My objective is to create a path payment, to pay from one funded testnet account to another. A code snippet is below (Can't include the whole function, I guess because it exceeds stack exchange code ...
1
vote
1
answer
73
views
How to enable transaction fees with multi-sig?
Consider a digital bank with deposits of different assets and transactions between digital wallets. All transactions have mandatory transaction fees, collected by the bank.
An interesting approach to ...
1
vote
1
answer
27
views
Getting the total amount of payments involving an account
Is there a way to get the total of all the payments sent and received by an account?
1
vote
2
answers
91
views
Private Testnet 404 issue
I am working on stellar private testnet setup, i have setup 3 stellar-core nodes and horizon, Account creation is working fine but data not showing for ledger, payment, transactions etc.
All 3 nodes ...
1
vote
0
answers
61
views
How do i build a fiat payment processor(Gateway) on stellar
I want to develop a payment gateway that can be integrated into online stores, merchants can seamlessly receive payments directly to their bank account. I want to build all the features on stellar. ...
0
votes
3
answers
155
views
How does stellar-notifier work?
I am checking the following repository -
https://github.com/orbitlens/stellar-notifier
Can anyone explain how this works end-to-end?
Few queries:
I want a notification on whenever a payment is ...
0
votes
1
answer
35
views
Payment to inactive account
I have an app running on Stellar which operates a payment system using XLM. My problem is my app cannot send XLM to an inactive account. Is there any ways for me to get my app to be able to send XLM ...
0
votes
3
answers
49
views
Use case: how to accept only one payment for an item
For example, a seller is selling product A. The seller says that whomsoever pays first gets the product. The seller also sells product B, and whomsoever pays first gets product B, and so on.
What I ...
0
votes
1
answer
21
views
SEP-24 deposit failed The transaction source account is not equal to the server's account
I'm working through the steps of setting up the Stellar Anchor platform. Docker is all set up and working okay. I'm at the stage where I test the Stellar Demo wallet by Initiating a SEP-24 deposit. I ...
0
votes
1
answer
33
views
Payment Transaction taking 6 seconds
Using the SDK and making very basic payments from one wallet to another with a digital asset. The issue is that every transaction that is made takes 6 seconds from call to response from the SDK. ...
0
votes
1
answer
23
views
Is there any Systematic/Organic relationship between Accounts on the Network/Ledgers?
I wonder if there's an organic relationship between an Account that Creates other Accounts on the Ledger or not?
Assume we have an Institution with a couple of Board Members, each have an Account of ...
0
votes
1
answer
31
views
How can I preg_match a Stellar public address in PHP?
Just wondering if anyone can help me preg_match a Stellar public address in PHP?
0
votes
1
answer
43
views
How to issue an asset of arbitary precision?
I want to issue the stellar equivalent of ethereum. Ethereum requires at least 18 units of precision but the amount on stellar is capped at int64 max. This isnt restricted to Ethereum so my question ...
0
votes
1
answer
65
views
Build a payments system using Stellar
I would like to know how I can make payment transactions, receive and buy / sell lumens with the stellar system. I do not encounter any indication to do all this, I have a business and I am interested ...