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

added brand and last4 #1274

Closed

Conversation

pradeepannepu
Copy link

No description provided.

@ob-stripe
Copy link
Contributor

Hi @pradeepannepu. Stripe's API does not return brand or last4 attributes for the three_d_secure API resource.

Note that this resource is part of an older, deprecated API that is only used by some legacy users. Modern integrations that want to accept 3D Secure payments need to use the Sources API, as documented on Stripe's site: https://stripe.com/docs/sources/three-d-secure.

@ob-stripe ob-stripe closed this Sep 10, 2018
@pradeepannepu
Copy link
Author

pradeepannepu commented Sep 11, 2018

thanks for the update @ob-stripe.
But we do receive the fields even with sources, we are making use of those two columns and unable to read through SDK, but they are available when we parse the ResponseJson.

 "three_d_secure": {
    "card": "src_1D98WfIlmURI1pIsfU3oTlEI",
    "brand": "Visa",
    "card_automatically_updated": false,
    "country": "US",
    "cvc_check": "unchecked",
    "exp_month": 4,
    "exp_year": 2024,
    "fingerprint": "mSnFOnHKG5jhhGdA",
    "funding": "credit",
    "last4": "3063",
    "three_d_secure": "required",
    "customer": null,
    "authenticated": false,
    "name": null,
    "address_line1_check": null,
    "address_zip_check": null,
    "tokenization_method": null,
    "dynamic_last4": null
  },

@ob-stripe
Copy link
Contributor

@pradeepannepu Apologies, looks like I was doubly mistaken: you're using the sources API, not the old 3DS API, and you did update the right file. Sorry about that!

I'll open another PR and add all the other missing attributes while I'm at it.

@ob-stripe
Copy link
Contributor

@pradeepannepu I just released version 19.6.0, which includes accessors for all attributes on the StripeThreeDSecure model class. It will be available on NuGet shortly.

@pradeepannepu pradeepannepu deleted the update-3dsecure-resource branch September 11, 2018 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants