We build a ticketing platform that takes online card payments for Square sellers through the Web Payments SDK and the Payments API, connected over OAuth.
On a seller account where our app is the only connected app, Risk Manager → Rules → Create rule shows the banner:
Update your APIs to enable 3D Secure rules.
and the action “Authenticate payment with 3D Secure (3DS)” is greyed out. The “Learn more” link goes to the Risk Manager 3DS help article, which only says some sellers may need to update their integration.
What we’re changing
Web Payments SDK: passing verification details to tokenize() (we don’t use verifyBuyer()):
const result = await card.tokenize({
amount: "25.00",
currencyCode: "USD",
intent: "CHARGE",
billingContact: {
givenName, familyName, email, phone,
addressLines, city, state, countryCode, postalCode,
},
customerInitiated: true,
sellerKeyedIn: false,
});
CreatePayment: sending customer_details:
"customer_details": { "customer_initiated": true, "seller_keyed_in": false }
(seller_keyed_in: true for payments keyed in by box-office staff.)
Questions
- How does Square decide an application supports 3D Secure, so the 3DS rule action is enabled for its sellers? Is it detected automatically from payments that arrive with verification data, or is there a review or a Developer Console setting we need to complete?
- Is the integration above enough, or is anything else required?
- Once the updated integration is live, how soon should the banner clear for sellers who connected our app before the update? Do sellers need to reconnect over OAuth?
- Can Risk Manager 3DS rules be tested in sandbox? If not, what’s the recommended way to test rule-triggered 3DS before production?
- Is there any way, through the API, Dashboard or a report, for a seller or a connected app to see whether 3DS was applied to a specific payment and its result? We couldn’t find such a field on
PaymentorCardPaymentDetails.
Happy to share our application ID privately with Square staff if needed. Thanks!