Adyen Invalid Shopper Interaction
The shopper interaction type specified is not valid or supported.
Debug error automatically with DrDroid AI →
Connect your tools and ask AI to solve it for you
Understanding Adyen: A Leading Payment Gateway
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.
Identifying the Symptom: Invalid Shopper Interaction
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.
Common Error Message
The error message usually appears as: "Invalid Shopper Interaction: The shopper interaction type specified is not valid or supported."
Exploring the Issue: What Causes This Error?
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.
Understanding Shopper Interaction Types
Adyen supports several shopper interaction types, including:
- ContAuth: Continuous authentication for recurring payments.
- Ecommerce: Standard online payment through a web browser.
- POS: Point of Sale for in-store transactions.
For more details, refer to the Adyen Checkout Documentation.
Steps to Resolve the Invalid Shopper Interaction Error
To resolve this issue, follow these steps:
Step 1: Verify the Shopper Interaction Type
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.
Step 2: Update Your API Request
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" }}
Step 3: Test Your Integration
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.
Conclusion
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.
Still debugging? Let DrDroid AI investigate for you →
Connect your tools and debug with AI
Get root cause analysis in minutes
- Connect your existing monitoring tools
- Ask AI to debug issues automatically
- Get root cause analysis in minutes