-
Notifications
You must be signed in to change notification settings - Fork 64
add /tx_status to the compliance protocol #59
Comments
ramon Should we add a |
@jedmccaleb yes, I think so. We probably also need to add a special status for a payment that is ready for pick-up and has not been picked up. It is at this stage the tracking number is known and the recipient can be notified. Something like EDIT: With these two new statuses, I don't think we need |
Let me map out what I think you mean by these statuses. Please let me know if sounds right:
|
When you said
Do you mean that it will be signed with the seed of the Stellar account that sent the payment? Then the recipient will verify it with the public address that sent the payment. |
@ramontayag do you remember why we preferred having the sender poll the receiver rather than have the receiver just tell the sender when the status becomes known? I think it may have been because we were worried that the sender might miss the msg from the receiver and then be in an unknown state. Maybe we need both options? @nullstyle any thoughts on this? |
For statuses we need to add:
Probably but why not just send it back to sender account? Sending another refund account in an attachment is prone to errors: ex. account without a trust line, account that doesn't exist etc. When it comes to polling, I think that sender should check status every X minutes because of the reasons in your comment @jedmccaleb. |
For one note: I think we need to be really careful about adding statuses that don't apply to all compliance protocol users... it just complicates things. Having statuses that imply status regarding cash payouts seems like something we should avoid. I'll come back to this ticket later today and work on some more feedback about the actual issue at hand. I've been away from the compliance protocol long enough that I need to refresh myself on the flow and the current design. |
@jedmccaleb yup that's the reason you had in mind. @nullstyle in that case, do you think Stellar should set a standard on how forwarders connect their APIs? It's not just for cash pickup -- most of those statuses are useful for forwarders that ultimately do not know whether or not the deposit will happen. |
@ramontayag good point, it definitely makes sense for us to include support for payment forwarding of some kind. I'd like to learn some more about the jargon and standards that are presently used... but I admit I'm not very knowledgeable about the landscape. Could you point me to some other organizations that act as payment forwarders? |
Hmm.. I'm not aware of other organizations that use stellar and are
payment forwarders. However, most remittances all over the world fall under
this this - like Western Union or remittance companies that deposit to a
bank for you.
…On Thu, 27 Jul 2017 22:24 Scott Fleckenstein, ***@***.***> wrote:
@ramontayag <https://github.com/ramontayag> good point, it definitely
makes sense for us to include support for payment forwarding of some kind.
I'd like to learn some more about the jargon and standards that are
presently used... but I admit I'm not very knowledgeable about the
landscape. Could you point me to some other organizations that act as
payment forwarders?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABi9HZqrSWO3bRj0Qp0HVTLHseLltAvks5sSOPSgaJpZM4NkDGY>
.
|
I'm not specifically looking for payment forwarders who are using stellar... I'm looking to understand the commonalities shared between existing systems like Western Union and remittance companies. An example question that I'd like to be able to answer: What term does Western Union use to describe a payment that has been completed by the sender but has not been picked up at a western union branch? Or another: Should we differentiate between a bank deposit that isn't settled and a cash payout that hasn't been picked up? My overall point: If we are building a protocol, we need to look at and learn from existing systems. As food for thought, why must "pending" and "claimable" be two different states? Couldn't they both just be represented as "unsettled"? |
Well something in |
Yeah, this is something that doesn't feel super clean to me, but I haven't thought of a better design. There are statuses that are just for cash pickup locations. |
After reading the discussion I'm starting to think if we really need a predefined set of statuses. Given the number of companies in the industry I think it will be really hard (or impossible) to create a list that will work for each of these. If I understand it correctly this endpoint will be used:
|
@bartekn, thanks for reviewing this. Just to make sure I understand, would it work this way in the cash pick-up context:
Then, if the sending FI wants to know if it has been picked up, they need to look further in the |
|
bartek why do you think the user doesn't need to know when the payment is ready to pick up? That seems like the most important thing to me since that is when they have to take some action. Also not every status needs to be used by every FI just like not every http status code is used by every website. |
This endpoint is meant to be consumed by a sender. So as a sender I'm less interested if it's available for pick-up, delivered, completed, etc. I'm just interested if my friend received it or not. On the other side, receiver will certainly get more information from the company where the money was sent.
Yes, the problem is when the company is using a status that is not in a "standard set" we defined. |
That isn't really true. Traditionally the info flow is driven by the sending side. In the tempo->coins case for example the people complaining and that want to know where the tx is are the senders. Also why not be more clear about what is happening with the tx? |
OK, I wasn't aware that Tempo receives complaints from senders. For example, in a normal bank panel you always see just When it comes to statuses, if we only manage to create a list that is used by majority of companies (and for statuses that are not there, companies can easily switch to similar one from our list) then fine. I think I agree with @nullstyle that we should use more generic statuses rather than super detailed ones that are valid only for a few companies and make this overcomplicated. |
Alright, so thinking about things some more:
|
Moving this to SEP: stellar/stellar-protocol#42 |
I feel like |
In many cases the sender needs to get additional info from the receiver after the payment is sent. To either tell their customer or for their own records.
After a tx is approved by the compliance protocol and submitted to Stellar, the sender can call
/tx_status
to learn what happened to the tx.sig
is the tx_id signed by the sending domain using the same signature mechanism used in the compliance protocol.refund_tx
only appears if the status is "refunded". It will be the txID of the tx sending the money back. The address to send the refund to needs to be sent as part of the original payment attachment otherwise the receiver won't know how to refund.The text was updated successfully, but these errors were encountered: