#irisslee95

1 messages · Page 1 of 1 (latest)

glossy quartzBOT
boreal spire
#

Hi! I am not sure I follow. Output where?

bright forum
#
{
    "id": "src_1MtP5xAjoeGrgQkULqBW1UGf",
    "object": "source",
    "amount": null,
    "card": {
        "address_line1_check": "pass",
        "address_zip_check": null,
        "brand": "Visa",
        "country": "FR",
        "cvc_check": "pass",
        "dynamic_last4": null,
        "exp_month": 12,
        "exp_year": 2023,
        "fingerprint": "v82dF5y7OtOgbvC3",
        "funding": "credit",
        "last4": "3155",
        "name": null,
        "three_d_secure": "required",
        "tokenization_method": null
    },
    "client_secret": "src_client_secret_yAt1QI4085kdWHipqkzUgXPN",
    "created": 1680673281,
    "currency": null,
    "customer": "cus_NOxujjw85jw71I",
    "flow": "none",
    "livemode": false,
    "metadata": {},
    "owner": {
        "address": {
            "city": "Can Tho",
            "country": "VN",
            "line1": "Can Tho",
            "line2": null,
            "postal_code": "",
            "state": ""
        },
        "email": "vendorone@localhost.test",
        "name": "Le Du",
        "phone": "0384926898",
        "verified_address": null,
        "verified_email": null,
        "verified_name": null,
        "verified_phone": null
    },
    "statement_descriptor": null,
    "status": "chargeable",
    "type": "card",
    "usage": "reusable"
}
#

here @boreal spire

#

I want to detect the 3DS request source early to send a payment request to the customer

#

Using Source API

#

Are you there @boreal spire

boreal spire
#

It's not possible to detect if 3D Secure is required until you try to Charge the Source

bright forum
#

You mean until I created the PaymentIntent?

boreal spire
#

Until you try to confirm and capture the PaymentIntent

bright forum
#

yes, thank you so much @boreal spire

boreal spire
#

Happy to help. Please, let me know if you have any other questions.