The two ways of charging a customer.
There are two ways for charging transactions in the platform:
-
Ingresse Store Payments: to be used when you are integrating sales for events registered at Ingresse company.
-
Whitelabel Store Payments: to be used for charging tickets or any other kind of products that are not directly related to Ingresse content.
For both ways, these are the supported acquires or payment methods currrently available
- Getnet: Credit card purchases
- Cielo: Credit card purchases
- Stone: Credit card and bank billets purchases
- Iugu: Bank billets purchase
- PayPal: PayPal integration
- PicPay: QrCode purchases
- Stark Bank: Credit card and bank billets purchases
- Ame: QrCode purchases
- Aarin: Pix purchases
it also is important to consider the status table bellow depending on which payment method you decide to use and/or are testing
INGRESSE | Getnet | Cielo | Stone | Iugu | PayPal | PicPay | Stark Bank |
---|---|---|---|---|---|---|---|
started | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
generated | N/A | N/A | N/A | pending | N/A | created | created, registered |
authorized | AUTHORIZED | 1 | AuthorizedPendingCapture | authorized | pending, authorized | N/A | N/A |
canceled | CANCELED | 10 | Voided, PartialVoid | expired | expired, voided | expired | canceled, overdue |
paid | APPROVED, CONFIRMED | 2 | Captured | paid, partially_paid | completed | completed, paid | paid |
declined | DECLINED | 3 | NotAuthorized, Invalid, NotFoundInAcquirer | canceled | denied | N/A | failed |
refunded | N/A | 11 | Refund, PartialRefund | refunded | refunded | refunded | N/A |
error | ERROR | 13 | WhitError | N/A | N/A | N/A | N/A |
pending | PENDING | 12 | PendingVoid, PendingRefund, PendingAuthorize | N/A | N/A | N/A | N/A |
manual review | N/A | N/A | N/A | N/A | N/A | analysis | N/A |
In case of an unrecognized status it will default to error. This is applied for all acquires
Testing Payments
It's possible to do requests in sandbox mode for some acquirers. This is really useful if you want to test the response of these acquirers instead of using some sort of mocking. You'll find some help below on how to do those requests.
Credit Cards
Getnet
Getnet provides a credit card number table to be used for tests purposes, you can find all of them in the official documentation. Here are the most used ones:
Number | Brand | Request Result |
---|---|---|
5155901222280001 | MasterCard | Approved Transaction |
4012001037141112 | Visa | Approved Transaction |
5155901222280002 | MasterCard | Invalid Credit Card |
5155901222280005 | MasterCard | Insufficient Funds |
Cielo
With Cielo, any valid credit card number with the last number equals to 1 will result in an approved transaction, you can check other rules for Cielo in the official documentation. Here are the most used ones:
Number | Request Result |
---|---|
4xxxxxxxxxxxxxx1 | Approved Transaction |
5xxxxxxxxxxxxxx8 | Problems with credit card |
5xxxxxxxxxxxxxx9 | Time Out |