Performing additional requests with Google Pay for JavaScript Library

  Last updated: 

 

When processing e-commerce payments using Google Pay, you can configure your solution to include additional requests to perform extra tasks. These are as follows:

 

Configuration

You will need to update the JWT payload to include the list requesttypedescriptions with the following supported request combinations:

It is imperative that you include “THREEDQUERY” in the requesttypedescriptions list, because without it 3-D Secure authentication would not be performed where possible. If the customer chooses to process the payment using Google Pay, Trust Payments will purposely omit the THREEDQUERY automatically as it would not be needed in that case.

Here are some example request lists you can can assign to requesttypedescriptions. Each request type is processed from left to right by Trust Payments .

  • [“ACCOUNTCHECK”, “THREEDQUERY”, “AUTH”]

  • [“RISKDEC”, “ACCOUNTCHECK”, “THREEDQUERY”, “AUTH”]

  • [“RISKDEC”, “ACCOUNTCHECK”, “THREEDQUERY”, “AUTH”, “SUBSCRIPTION”

  • [“RISKDEC”, “THREEDQUERY”, “AUTH”]

  • [“RISKDEC”, “THREEDQUERY”, “AUTH”, “SUBSCRIPTION”]

  • [“THREEDQUERY”, “ACCOUNTCHECK”, “SUBSCRIPTION”]

  • [“THREEDQUERY”, “AUTH”]

  • [“THREEDQUERY”, “AUTH”, “RISKDEC”]

  • [“THREEDQUERY”, “AUTH”, “SUBSCRIPTION”]

Was this article helpful?
0 out of 0 found this helpful