Questions tagged [payment-gateway]

A service for authorizing payments for an e-commerce website, an online retailer or a traditional business.

Payment gateways are a way to securely communicate a transaction between a payee (the merchant, and their acquiring bank) and a payer (the customer, and their issuing bank).

The payment gateway can be offered directly by a bank, or by a Payment Service Provider acting as a mediator between the payee bank and the payer bank. Some payment gateways also offer an API or SDK to allow developers to integrate the payment gateway into online platforms or mobile applications.

Payment gateways usually employ security mechanisms to pass the payment related information from customer to the merchant and from the merchant to the bank securely. In some popular payment types such as credit and debit cards, the security measures must comply with an industry standard and regulatory requirements.

Payment gateways may provide various modes of payment such as by credit card, debit card, online banking or mobile banking for executing the transaction.

4178 questions
12
votes
4 answers

Which is better approach between fsockopen and curl?

I am creating an app for Automated Recurring Billing. Please let me know which option should I opt for sending the request to server fsockeopen curl and why one is better than another?
Gaurav
  • 28,447
  • 8
  • 50
  • 80
12
votes
2 answers

How to get response from IPN cryptocurrencies

We're trying to receive payment with cryptocurrencies using coinpayment IPN. We are able to create a request and able to do a payment. However, not able to get success or failure response while user come back to the seller side. Here is how payment…
Hina Khuman
  • 757
  • 3
  • 14
  • 41
12
votes
1 answer

How to use Bitpay with Java

I found this post about BitPay but it's not very clear how I can use it. https://help.bitpay.com/development/how-do-i-use-the-bitpay-java-client-library I implemented this code: public void createInvoice() throws BitPayException { ECKey…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
12
votes
2 answers

Should I use the CreditCardAttribute to validate credit card numbers?

Should I use Microsoft's CreditCardAttribute to validate credit card numbers like so? [Required, CreditCard] public string CreditCardNumber { get; set; } Or should I let the payment gateway handle it, or do something else? I ask this after…
Jeremy Cook
  • 20,840
  • 9
  • 71
  • 77
11
votes
2 answers

Laravel Omnipay - The transactionReference parameter is required

I'm working with the open source ticket system called Attendize. They already have the payment provider Stripe integrated. Now I'm trying to make this work with the payment provider Mollie. The problem is I keep stumbling on this error: My code…
nielsv
  • 6,540
  • 35
  • 111
  • 215
11
votes
6 answers

Payment API for Grails

Are there any payment APIs for Grails? I'm looking for something that will abstract receiving of payments for my website. Primarily, I'm looking to hit Paypal and Google Checkout - as far as I know these are the most used online payment services. …
Armand
  • 23,463
  • 20
  • 90
  • 119
11
votes
1 answer

How do I integrate Paytm wallet in an Android application?

I want to integrate Paytm wallet in an Android application as a payment option, just like in the Uber app. Can anyone help me out? Thanks in advance.
ashokgujju
  • 320
  • 2
  • 4
  • 17
11
votes
3 answers

activemerchant paypal gateway configuration

I'm trying to config my paypal gateway and activemerchant with help of railscasts tutorial but I'm a bit confused because the gateway information has changed. That's the old config from the tutorial: gateway =…
crispychicken
  • 2,592
  • 2
  • 33
  • 50
10
votes
4 answers

"Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.During PlaceOrder Authorised.net in magento"

I am facing error during the placeorder using method authorised.net in magento: "Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.
Bhavik
  • 183
  • 1
  • 1
  • 13
10
votes
3 answers

Which payment system has good integration with Java?

At the moment, I am using PayPal to implement my payment process. However, I'm not really happy with the so outdated API that PayPal provides for Java. I have googled for a while and I saw a number of alternatives in several articles such as: 17…
Mr.J4mes
  • 9,168
  • 9
  • 48
  • 90
10
votes
2 answers

how to implement a payment system in rails

I am new to the rails world and am in the process of setting up a small rails app for a client. One of the requirements is that the user enters their credit card which gets charged for a specified amount. I haven't had much experience with…
Omnipresent
  • 29,434
  • 47
  • 142
  • 186
10
votes
6 answers

How to process payments through cards?

I'm developing a web application, using ASP.net and C# need to provide a functionality through which users can pay through their cards (Credit card, Master card, Visa card, Debit card etc.) how do i process a transaction, means that when user…
Jame
  • 21,150
  • 37
  • 80
  • 107
10
votes
1 answer

Additional field on checkout for specific payment gateway in Woocommerce

I have a custom Woocommerce payment gateway and I need to add additional field on the checkout when the payment is selected. Basically, when the users click the custom payment gateway a "select" field should appear and they have to choose something…
user8038427
10
votes
1 answer

$0/free transactions in stripe

I have built a voucher/coupon system in Stripe and have the following scenario. Customer voucher value: $50 Item price: $25 The voucher system works out that the total amount the customer will have to pay is $0 and they will have $25 remaining on…
10
votes
2 answers

Change order status just after payment in WooCommerce

I need to change automatically an order status for completed after receiving payment, but only if the order status is "processing". I found that snippet, what makes orders status completed in every case, but my payments plugins after successful…
Borys Zielonka
  • 287
  • 2
  • 6
  • 20