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

Requesting session API returns failure ( version 17.0.0) #609

Closed
huangxy7 opened this issue Jan 18, 2024 · 1 comment
Closed

Requesting session API returns failure ( version 17.0.0) #609

huangxy7 opened this issue Jan 18, 2024 · 1 comment

Comments

@huangxy7
Copy link

Requesting session API returns failure
document:https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout
calss: \Adyen\Service\Checkout\PaymentsApi::class
method: sessions
params:
{
"amount":{
"value":9800,
"currency":"HKD"
},
"merchantAccount":"",
"returnUrl":"https://**",
"mode":"hosted",
"themeId":"1f71
",
"reference":"
",
"countryCode":"HK",
"expiresAt":"2024-01-17T08:56:24+00:00",
"shopperReference":"*",
"shopperStatement":"
",
"enableRecurring":true,
}
response:
errormsg :"The field 'threeDSAuthenticationOnly' is not supported when mode: 'hosted'."

@DjoykeAbyah
Copy link
Member

Hi @huangxy7,

Thank you for reaching out to us, and apologies for the delayed reply!

By default, the ThreeDSauthenticationOnly boolean is unintentionally set to false. We have removed it in v17.1.1. I've verified this to be certain, so updating to v17.1.1 would resolve this issue.

Kind regards,

Djoyke
Adyen

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

No branches or pull requests

2 participants