Questions tagged [payment]
35 questions
36
votes
1 answer
Where does paypal's 92233720368547800 number come from?
There has been a story in the news about a man whose Paypal account was accidentally credited with $92,233,720,368,547,800.
Where does this number come from? What sort of programming bug is likely to give rise to this number?

shamp00
- 2,759
- 3
- 18
- 14
11
votes
2 answers
Handling subscriptions, balances and pricing plan changes
Preamble
My aim is to create reusable code for multiple projects (and also publish it on github) to manage subscriptions. I know about stripe and recurring billing providers, but that's not what this module is aiming for. It should just be a…

pdu
- 579
- 1
- 6
- 21
8
votes
3 answers
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 order instance with status PENDING_PAYMENT is…

Avius
- 377
- 1
- 9
8
votes
3 answers
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 integration (say, for an e-store) would look like…

Avius
- 377
- 1
- 9
8
votes
3 answers
Integrating with a payment provider; Proper and robust OOP approach
History
We are currently using a so called redirect model for our online payments (where you send the payer to a payment gateway, where he inputs his payment details - the gateway will then return him to a success/failure callback page). That's easy…

ExternalUse
- 208
- 2
- 7
7
votes
1 answer
Are hashed bank account numbers PCI data?
Background:
I work for an NPO which receives large numbers of paper check donations every week. The current process of recording the donations is tedious and done mostly on paper. Because most donations come from regular donors, we assign unique…

Patrick D.
- 143
- 1
- 7
7
votes
5 answers
What do you do to make the client understand that requirements not mentioned in contract should be charged separately?
I've done a very small project for a specified amount of payment. The project was some client-side validation code. However, now client asks for code improvement (general code improvement including server-side, not mine which was purely jQuery and…

Saeed Neamati
- 18,142
- 23
- 87
- 125
6
votes
1 answer
How does an product order payment works during a race condition?
This is a pretty generalized question which I am asking.
Scenario 1
I have a product 'Pen' which has a quantity of 1. Now 2 users a and b has come to buy the product.User 'a' clicked on buy now and has started the payment processing and once the…

Ajeesh
- 329
- 1
- 2
- 6
4
votes
8 answers
Do you create an order before or after payment on an Ecommerce site?
I have a shopping cart with a checkout page. On the checkout page is a payment button which takes them to a stripe payment form.
I've read some books on building eCommerce shopping carts in which the order is created when the user clicks the…

adam78
- 291
- 3
- 9
4
votes
4 answers
Freelancing - Getting paid for the quote or estimate
It is often necessary to spend time designing a solution, breaking down the design into tasks and sub tasks and estimating the time it will take to complete each task in order to produce a reasonable estimate or quote for a programming task. This…

jah
- 162
- 9
3
votes
3 answers
Should I ask for advance payment on custom work?
...for project-based work.
So far I didn't, and always got paid when work was complete and didn't ran into any problems.
Does this make me look unprofessional? :)
Should I ask like 25% - 50% advance before I start working?
The work I usually do also…

Alexa
- 1,281
- 1
- 11
- 9
3
votes
2 answers
Using Paypal (or similar) to log into my site?
I have a web site and I want to offer a few levels of service - one free, one for a one-off payment, and one for a subscription. My first inclination is to use Paypal for the payment options. I understand that I can make some login page on my site…

Paul Tomblin
- 1,949
- 1
- 15
- 19
2
votes
2 answers
Need help with payment process using Stripe
I am not sure which stackexchange website is correct website to post this question.
I haven't worked on payment process before - and I need help with payment process using Stripe -
we are developing a website in which we will be selling items from …

Dawood Awan
- 165
- 7
2
votes
2 answers
Implementing a pay-per-user business model
Introduction
I'm working on an application where organisations pay for each user they add to their 'environment'. Organisations have a credit/balance, and as long as the user is not removed, the organisation pays a small hourly fee per user.…

Willem-Aart
- 325
- 2
- 11
2
votes
3 answers
Payment Gateways and RESTful API
I have a RESTful API that offers eCommerce functionality. One area I'm struggling to decide on the correct implementation is how to process payments.
Lets say I have the following URI GET .../checkout/{id}/payment. This resource provides details to…

GWed
- 3,085
- 5
- 26
- 43