Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional billing information to card vaulting #219

Open
quintonpryce opened this issue Nov 14, 2023 · 2 comments
Open

Add additional billing information to card vaulting #219

quintonpryce opened this issue Nov 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@quintonpryce
Copy link

quintonpryce commented Nov 14, 2023

When will there be support for billing information on the UpdateVaultSetupToken graphql POST request?

I have added encoding a "billingAddress" to UpdateVaultVariables.swift file with a postal code and country code which returned an error from https://www.sandbox.paypal.com/graphql?UpdateVaultSetupToken

{
  "query": "mutation UpdateVaultSetupToken($clientID: String!, $vaultSetupToken: String!, $paymentSource: PaymentSource) {\n    updateVaultSetupToken(\n        clientId: $clientID\n        vaultSetupToken: $vaultSetupToken\n        paymentSource: $paymentSource\n    ) {\n        id,\n        status,\n        links {\n            rel,\n            href\n        }\n    }\n}",
  "variables": {
    "paymentSource": {
      "card": {
        "securityCode": "802",
        "number": "4240320004218883",
        "expiry": "2026-09",
        "billingAddress": {
          "postalCode": "55555",
          "countryCode": "US"
        }
      },
      "vaultSetupToken": "1MB39316L3631624F",
      "clientID": "AYmwZtpV8XT-vjndqSOWIZRD_7Sxq9Am3n1mzX6A3HCk1LRDqok__2YyBx7-i2xBNrHh2gBTjwG1cVV8"
    }
  }
}

I can only assume this is a problem on the requester side and not the request side if all the docs hold to be true.

We like to do everything we can to mitigate fraud, and adding a billing address is one that I think will help.

Describe the solution you'd like.

Add SDK support for billing information.

@stephenhyde
Copy link

+1 for AVS checks. Not sure if we need a full billing check but at least the postal/zip code would be great!

@scannillo
Copy link
Collaborator

👋 Hello @quintonpryce - thank you for using the PayPal iOS SDK and for raising this request.

This is something we should be able to do. I've created an internal ticket for our product team to prioritize (DTPPCPSDK-1491 for internal tracking). We will keep you posted as it gets reviewed and prioritized!

@scannillo scannillo added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants