Questions tagged [payment]
The payment tag has no summary.
38 questions
1 vote
1 answer
102 views
What type of authentication/identification is needed?
The specs: Mobile apps LLM wrapper (of e.g. OpenAI API) The chat history will be stored on the client Backend is needed to manage the api key and to track token consumption / payment (how many tokens ...
0 votes
1 answer
132 views
Best Practice for Managing Payment Subscription Tier Status
I'm trying to understand the best way to approach how to manage and update a user’s payment subscription status in a web application. Let’s say you have a subscriptions table in a database that is ...
0 votes
1 answer
250 views
Need help to design payment subscription - Custom logic for the recurring payment or Stripe Subscription
I am developing a SaaS platform with a membership management system as a part of the bigger system. Tenants are allowed to perform CRUD operations on Plans, which has price and the length of the ...
0 votes
3 answers
543 views
Why do payment systems verify the transaction once it has been completed?
I've noticed this kind of architecture in hub payment systems(system where you can pay to multiple merchants at one place-thus called hub). payment app-->payment mediator-->bank server Bank ...
1 vote
3 answers
719 views
How is double-spending technically prevented in traditional banking? [closed]
In contrast to bitcoin: How is double-spending technically prevented in traditional banking? Do database transactions have to conform to the ACID property in order to prevent double-spending?
-1 votes
2 answers
111 views
Handling In-App Credits better approach
I met 2 different approaches to handling in-app credits. If the problem is defined as: Allow a customer to purchase credits, which they're allowed to spend on different in-system items. The credits ...
0 votes
1 answer
208 views
Javascript and payment security
I'm using a third party CRM application which allows you to build web forms using drag and drop widgets and the ability to add javascript code to manipulate those widgets. I need to build a form to ...
3 votes
2 answers
1k views
Integration Testing Stripe Payments - stripe-mock or Stripe's test mode?
I'm building an automated test suite to integration/feature test my organization's Stripe implementation within a GitLab CI pipeline. We're running Laravel 8 and using phpunit for testing. Within this ...
8 votes
3 answers
601 views
How to deal with abandoned idempotent operations?
I have implemented idempotent order placement (mostly to avoid accidental double submissions) but I am not sure how to handle incomplete operations. Example scenario: User tries to place an order. An ...
1 vote
1 answer
130 views
Creating models for a subscription-based service using third-party payment gateways
If this question is too broad for Q&A format, I'd appreciate a pointer on where to ask it. Suppose that you're using Stripe (or some similar service) to manage the payments for a service of some ...
0 votes
1 answer
132 views
Should a payment success or error page expire?
When payment is made, it either succeeds or fails for whatever reason. In this case, though not important, the payment is made on a third party payment website, like Paypal, and a callback url is ...
-4 votes
1 answer
113 views
When making websites for clients, what's the best way to handle payments that clients pay for, but you design?
When making a website for a client, how do you deal with payments (hosting, theme, plugins, software, ect) when you are setting everything up for them, though the client will be paying for the systems/...
9 votes
3 answers
2k views
How to handle database errors after a successful 3rd party payments API response?
The specific scenario in my case involves PayPal but it could easily be any other external system. According to a lot of sources on the Internet, including the official documentation, a basic PayPal ...
1 vote
1 answer
2k views
Best way to prevent duplicate payment of order in multi user environment?
I have an application in which users can create an order and payonline using stripe.js When the order is created it's status is set to unpaid. The user then has the option to review the order on a ...
-2 votes
1 answer
98 views
What should be the correct architecture in an e-commerce module
I'm new in development & just developing an e-commerce platform. I'm just confuse about the flow of payment. Suppose I have a checkout page where after logged in user has to press the payment ...