Questions tagged [payments]

For questions regarding the process or mechanism of payments within Stellar.

Filter by
Sorted by
Tagged with
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 ...
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
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 ...
0 votes
1 answer
39 views

Python create account for Main-net, I can not find the Main net examples

Account0.py from stellar_sdk.keypair import Keypair pair = Keypair.random() print(f"Secret: {pair.secret}") # Secret: print(f"Public Key: {pair.public_key}") Account.py import ...
0 votes
1 answer
60 views

My transaction fails with paymentResult: [paymentLineFull]

I'm using the Stellar Java SDK to perform a Transaction with a PaymentOperation and I run into the following transaction response: (Converted from XDR). I don't know what this error means and how I'd ...
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": "...
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 ...
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
33 views

Get payments for an account for an asset

Is there a way to query horizon to get payment operations for an account and for a certain asset?
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 ...
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, ...
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 ...
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 ...
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 ...
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. ...
-1 votes
2 answers
91 views

How can I get the value of the Stellar Transaction?

Greetings Stellar StackExchange community, I would kindly require your assistance as I am having hard time figuring out how to get the incoming transaction amount value, and what would be the most ...
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?
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?
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
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 ...
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-...
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 ...
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 ...
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 ...
0 votes
1 answer
244 views

Paying with Custom Tokens

UPDATE: I removed the quotes from BPTOKEN. That was a mistake. I had them removed in the real code but cut and pasted a change before this happened. It has been corrected and the error included. ...
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 (...
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
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 ...
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
1 answer
103 views

how to transfer XLM from licensed Exchanges to inactive account?

I need to transfer XLM to my own (self created) Account. I have the account generated by Stellar Account Viewer ( https://www.stellar.org/account-viewer/#!/ ) but it seems that account is currently ...
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 ...
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 ...
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 ...
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
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 ...
0 votes
1 answer
29 views

How Do I Get Token Rate For Accepting Payment?

I am using a plugin on my website to accept Stellar tokens. I want to modify this plugin to accept more than what they have built into the plugin. The plugin uses Stellarterm API to get price ...
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 ...
6 votes
1 answer
36 views

Stellar Payments: Routing Algorithm

Where can I get information on the routing algorithm employed in Stellar ?
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 ...
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 ...
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 ...
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: ...
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 ...
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. ...
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
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 ...
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. ...
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. ...
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 ...