hyperswitch
hyperswitch copied to clipboard
[BUG] : Airwallex 3DS payment is failing with the error "The HTTP method is not applicable for this API".
Bug Description
Issues that the below PR contains
- [ ] [Airwallex] add multiple redirect support for 3DS (#811)
Issue1: After clicking the redirection url getting the error( "The HTTP method is not applicable for this API" ) for the 3DS payment
Expected Behavior
Should redirect to the airwallex page without any issue.
Actual Behavior
error |
type | "invalid_request_error" code | "IR_03" message | "The HTTP method is not applicable for this API"
Steps To Reproduce
1.Create a 3DS payment for Airwallex connecto 2. Click on the redirection url 3.Getting the error in the browser
Context For The Bug
{ "amount": 2500, "currency": "GBP", "confirm": true, "routing": { "type": "single", "data": "airwallex" }, "capture_method": "automatic", "capture_on": "2022-09-10T10:11:12Z", "authentication_type": "no_three_ds", "return_url": "https://google.com", "customer_id": "integ_customer313", "email": "[email protected]", "name": "John Doe", "phone": "999999999", "phone_country_code": "+65", "description": "Its my first payment request", "statement_descriptor_name": "Juspay", "statement_descriptor_suffix": "Router", "setup_future_usage":"on_session", "payment_method": "card", "payment_method_data": { "card": { "card_number": "4012000300000088", "card_exp_month": "03", "card_exp_year": "2030", "card_cvc": "737", "card_holder_name": "sundari" } }, "billing": {"address":{ "line1": "Juspay Router", "line2": "Koramangala", "line3": "Stallion", "city": "Bangalore", "state": "Karnataka", "zip": "560095", "country": "GB" }}, "shipping": {"address":{ "line1": "Juspay Router", "line2": "Koramangala", "line3": "Stallion", "city": "Bangalore", "state": "Karnataka", "zip": "560095", "country": "GB", "first_name": "sundari" }}, "metadata": { "order_details": { "product_name": "Apple iphone 15", "quantity": 1, "account_name": "transaction_processing" } } }
Environment
Integ
Have you spent some time to check if this bug has been raised before?
- [X] I checked and didn't find similar issue
Have you read the Contributing Guidelines?
- [X] I have read the Contributing Guidelines
Are you willing to submit a PR?
None