test83318 Posted August 17, 2022 Share Posted August 17, 2022 (edited) Can be L&A as for the most part, the banking API has been implemented. Detailed Description Enable a way for certain accounts (primarily business) to create “codes” which allow to make payments with the receive, amount and concept already set up. This could make it easier to keep track of the different transactions that are made. The system would be something quite similar to a “service” that was published some time ago, that allowed you to see if a specific payment had been made, but in this case without the inconvenience of putting your UCP password in a third-party site. The process could be something like this: SELLER: In a page on the banking site, they fill a form which includes the amount and the concept. This form goes through this process: Verification that the user is authenticated, that the destination routing has this option enabled and that the user has permission to create the code for the account. A code (6-8 alphanumeric digits) is generated, and is checked in the database to avoid that an active code already exists. In the database the register is created with the following fields: The seller is sent to a page where the code is shown, as well as the last X created ones, as well as their status: paid/not paid. Spoiler ID -Auto Increase- Routing The Routing of the business account Payment NULL Concept The concept indicated by the seller Amount The amount indicated by the seller Code The auto-generated code BUYER: On the banking.gta.world/transfer page, once the account has been selected, another option appears next to the destination: Once the code is introduced, it appears a section that looks for a register in which the code is the one and the payment is null and fetches the details. They appear in order for confirmation. The buyer confirms that the data is correct. The payment is made as usual and the field payment is replaced by the ID from the Transactions table. (Optional: ) A webhook can be set up by the business that sends a message in a discord server once the payment is received, or notifies a third-party site that the payment has been received. SELLER: The seller can at any point check the list of the codes that have been generated and check whether they have been paid. It would be an addition that both steps from the seller can be done by an API with a Token, so it can be integrated on a discord bot, or on a website, in order to Relevant Commands/Items While it would not be necessary, ingame there could be a payinvoice command, with the code, and once the player confirms that the data is correct, the payment is done in a similar way to what it would be done in the banking website. How will it benefit the server? It would allow to simplyfy some of the transactions related to the operation of different businesses. Apart from that, it could be set up what employees (employee/supervisor/manager/owner) can access this panel, depending on the way each business operates, enabling to have access to see if payments have been paid, but without being able to make operations from it. This could even relate to an suggestion that was made some time ago, too: https://forum.gta.world/en/topic/68685-allow-fleeca-site-as-payment-proof-for-fld/ Edited October 11, 2022 by test83318 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now