Google PayTM Android offers an easier, more secure way to pay and facilitate the checkout process by using a mobile device access code or other physical recognition system during an online payment.
In order to start accepting Google PayTM Android in your App, you will need to use our SDK for Google PayTM. SDKs are ready-to-install kits containing APIs as well as additional tools for development.
During a transaction, the merchant sends the Google PayTM encrypted payload to PayFacto gateway. The PayFacto gateway will then decrypt the payload and process the transaction.
With Google PayTM, PayFacto supports: Purchase and Pre-Authorization. PayFacto also supports Refund, Pre-Authorization Completion and Void, and no interaction is required with Google PayTM for these transactions.
PayFacto supports all the major card brand networks (Visa, Mastercard, Amex) in either 3DS or PAN only mode.
1) The merchant application requests and receives the encrypted payload from Google Pay API.
2) The payload is sent to the merchant's server.
3) The PayFacto payment gateway receives the encrypted payload from the merchant's server and decrypts it.
4) PayFacto processes the transaction with the host.
1) Git clone Google Pay Android Demo app repository https://github.com/google-pay/android-quickstart
2) Update the Demo App for PayFacto payment gateway
3) Build and run the Demo App
4) Validate the transaction in PayFacto Gateway Payment Manager
1) In the file Constants.java,
2) In the file CheckoutActivity.java in the method handlePaymentSuccess
The payload is transmitted to PayFacto's servers via the payment API
The following endpoints are available for Android.
Each transaction requires the merchant to send an acknowledgment (Ack) to the PayFacto gateway. The ACK transaction is used to confirm that the response was successfully received and the transaction is set to COMPLETED.
The ACK transaction result can be either true or false. If you receive “false”, you can try to send the ACK transaction again for 2 more times. If the result is still “false”, the transaction was NOT successful.
| API | Endpoint |
|---|---|
| Ack | https://test.api.payfacto.cloud/v1/ack |
Google Pay API json request object is documented here https://developers.google.com/pay/api/android/reference/request-objects#PaymentMethodTokenizationSpecification
Make sure to review the Google Pay developer documentation to specify your supported capabilities
In Constants.java
public static final List<String> SUPPORTED_NETWORKS = Arrays.asList(
"AMEX",
"MASTERCARD",
"VISA");