Get Instant Solutions for Kubernetes, Databases, Docker and more
Adyen is a comprehensive payment gateway solution that enables businesses to accept payments across various channels, including online, mobile, and in-store. It provides a seamless checkout experience and supports a wide range of payment methods globally. Adyen's robust API allows developers to integrate its services into their applications, ensuring secure and efficient payment processing.
When integrating Adyen into your application, you might encounter an error message indicating an 'Invalid Shopper Interaction.' This error typically arises during the payment process, where the specified shopper interaction type does not align with the expected parameters.
The error message usually appears as: "Invalid Shopper Interaction: The shopper interaction type specified is not valid or supported."
The 'Invalid Shopper Interaction' error occurs when the interaction type provided in the API request does not match the supported types outlined in Adyen's documentation. Shopper interaction types define how the shopper is interacting with the payment process, such as through a browser or a mobile app.
Adyen supports several shopper interaction types, including:
For more details, refer to the Adyen Checkout Documentation.
To resolve this issue, follow these steps:
Ensure that the shopper interaction type specified in your API request is valid. Refer to the Adyen API Explorer for a list of supported interaction types.
Modify your API request to include a valid shopper interaction type. For example, if you are processing an online payment, use "Ecommerce"
as the interaction type:
{
"amount": {
"currency": "EUR",
"value": 1000
},
"shopperInteraction": "Ecommerce",
"reference": "YourOrderReference",
"paymentMethod": {
"type": "scheme",
"number": "4111111111111111",
"expiryMonth": "10",
"expiryYear": "2023",
"cvc": "737"
}
}
After updating the API request, test the integration to ensure that the error is resolved. Use Adyen's test card numbers to simulate transactions and verify the shopper interaction type.
By ensuring that the shopper interaction type in your API request aligns with Adyen's supported types, you can effectively resolve the 'Invalid Shopper Interaction' error. For further assistance, consult the Adyen Support Center or reach out to their technical support team.
(Perfect for DevOps & SREs)
(Perfect for DevOps & SREs)