Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This solution does not include the “browser height/width” information because paycomet did not implement and does not provide access to send this new field.

  • The fields provided are not optional and are a new request for Visa payments as a way of detecting fraud.

  • The phone/email fields must use the same standard user data.email will be mandatory and telephone number optional

#1 - Create new fields for the new data needed.

...

Expand
titlesrc/paycomet-core/api/api.post-pre-auth.ts
Code Block
languagetypescript
interface IBillingData {
  billAddrCity?: string;
  billAddrCountry?: string;
  billAddrLine1?: string;
  billAddrPostCode?: string;
  billAddrState?: string;
}

interface ICustomerData{
  mobilePhone: IMobilePhone;
  email: string;
}

interface IMobilePhone{
  cc: string;
  subscriber: string;
}

interface IMerchantData {
  billing?: IBillingData;
  customer?: ICustomerData;
}

interface IRequestPaymentBody {
  ...
  merchantData: IMerchantData;
}

...

info

List here potential challenges that have come across the opportunity definition or from the potential solutions so far.

🎛️ Configuration

Info

Include here any configuration required (Sanity, LaunchDarkly flags, etc.) required to enable the solution.

Temporary Feature Flag

payment-fields-variations

📈 Metrics

...

Reduce the visa error rate in the payment process.

KPI = (Visa Error) / All Payments * 100

🧑‍🚒 QA Plan

...

[Test Cases] Visa/Sibs - new mandatory fields

⚠️ Call-outs

Note

Tip: Document here any improvement or discussion regarding the feature

...