Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
0
answers
68
views
Byzantine payment processing code
One such section is payment processing code. The code works for the most part, so we leave it untouched. … The only problem is that whenever a charge is denied by the payment processor, the user gets a 500 error instead of a helpful message. …
5
votes
1
answer
288
views
Payment system migration
GitHub
There need to be a software design supporting gradual migration from one payment system (E-xact) to another (Stripe). … BillingId> RegisterAsync(CreditCard card);
Task ChargeAsync(BillingId id, decimal amount);
}
The idea is that IPaymentService defines API shape, IPaymentAdaptor is about to be implemented for each payment …
2
votes
0
answers
270
views
Decoupling payment classes
I have several classes for payment handling, I separate these classes into directories like below. … Do I need to duplicate it on each package (and keep one in Payment directory as it's needed by PaymentService class constructor)? …
8
votes
3
answers
1k
views
Calculate a payment due after X age
I have inherited a function which calculates a first payment due after a certain age. … due after age 55
As far as the parameters, EffDate is the date the account became active, DOB is date of birth, mode is a payment mode value and age is the attained age to check. …
3
votes
0
answers
2k
views
Simple Payment System Flask App
It's a simple payment app that checks if there is any record of the person and how much he owes, then one can proceed to accept payment. …
7
votes
1
answer
160
views
Card payment strategies
In my project, I have 3 payment mode. Via Manually Entered , Card Swipe, and cash. …
3
votes
1
answer
52
views
Billing and recurrent payment db structure
I am designing my first payment service and here is my db structure.
Each user can have many businesses, each business can have many products. Some are recurring, some are paid once. … Each product is tied to payment method. Some products are always free, and some are paid every X days. …
0
votes
1
answer
86
views
Managing several payment means in my Rails 3.2 app
I'm trying to manage several means of payment in my Rails 3.2 application.
Let's say I have 2 means : Credit Cards & Bank Transfers (BIC), working with 2 different payment providers. … , polymorphic: true
end
class CreditCard < ActiveRecord::Base
has_one :payment_mean, as: :payment
end
class Bic < ActiveRecord::Base
has_one :payment_mean, as: :payment
end
What do you think about …
2
votes
1
answer
510
views
Stripe payment form
I have a stripe payment form and when I use different forms that get hidden, I must use separate IDs for the form to appear. …
2
votes
2
answers
713
views
Determining the next payment renewal date
I am not very good a JavaScript, surely not date manipulation, but I hacked together the script below with the purpose to determine the next payment renewal date based on a start date and payment term. …
0
votes
1
answer
89
views
Different payment details in a common list, to be casted [closed]
The only common attributes are the payment method id and PaymentMethodEnum. I would then be casting the payment method to it's appropriate type to get the extended properties. … The usage for this is an MVC Website, and these payment details are effectively read only. …
3
votes
1
answer
461
views
Payment system for a web shop
I've tried making a payment system for an API called Payson, which is a European company similar to PayPal. …
3
votes
1
answer
321
views
Applying the Strategy pattern for payment methods
The strategy pattern is applied in the code below in the payment separation solution. Please evaluate if it is well done according to standards. I would be very grateful for suggestions.
<? …
4
votes
3
answers
560
views
Payments Service
The code that I am working with below is a payment service and MakePaymentRequest request takes in two account numbers, a receiving and a sending account, payment method type, an amount and a payment date …
5
votes
1
answer
3k
views
Secure CURL to & handle response from Payment Gateway
I'm using a payment gateway and am trying to implement the post and response handling with CURL so that it all happens on one page. … (isset($_POST['Card_Number'])){
// CURL the data to payment gateway
foreach($data as $key => $value){
$fields .= $key . '=' . …