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

[BUG] - Bambora payment is not working #6953

Open
2 tasks done
syrakozz opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done

[BUG] - Bambora payment is not working #6953

syrakozz opened this issue Dec 27, 2024 · 0 comments
Labels
C-bug Category: Bug S-awaiting-triage Status: New issues that have not been assessed yet

Comments

@syrakozz
Copy link

Bug Description

im getting :

"error_code": "314",
"error_message": "[{"field":"billing:name","message":"Enter your name"},{"field":"billing:email_address","message":"Enter your email address"},{"field":"billing:phone_number","message":"Enter your phone number"},{"field":"billing:address_line1","message":"Please enter your address"},{"field":"billing:city","message":"Enter your city"},{"field":"billing:province","message":"Select your state/province"},{"field":"billing:country","message":"Select your country"}]",

request : 
{"amount":12345,

"browser_info": {
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8",
"language": "nl-NL",
"color_depth": 24,
"screen_height": 723,
"screen_width": 1536,
"time_zone": 0,
"java_enabled": true,
"java_script_enabled": true,
"ip_address": "127.0.0.1"
},"currency":"USD","confirm":true,"capture_method":"automatic","capture_on":"2022-09-10T10:11:12Z","amount_to_capture":12345,"customer_id":"{{customer_id}}","email":"[email protected]","name":"John Doe","phone":"999999999","phone_country_code":"+1","description":"Its my first payment request","authentication_type":"no_three_ds","return_url":"https://duck.com","payment_method":"card","payment_method_type":"credit","payment_method_data":{"card":{"card_number":"4242424242424242","card_exp_month":"10","card_exp_year":"25","card_holder_name":"joseph Doe","card_cvc":"123"}},"billing":{"address":{"line1":"1467","line2":"Harrison Street","line3":"Harrison Street","city":"San Fransico","state":"California","zip":"94122","country":"US","first_name":"joseph","last_name":"Doe"},"phone":{"number":"8056594427","country_code":"+91"}},"shipping":{"address":{"line1":"1467","line2":"Harrison Street","line3":"Harrison Street","city":"San Fransico","state":"California","zip":"94122","country":"US","first_name":"joseph","last_name":"Doe"},"phone":{"number":"8056594427","country_code":"+91"}},"statement_descriptor_name":"joseph","statement_descriptor_suffix":"JS"}

response : 

{
"payment_id": "pay_TWudxv7ARGWTBaJLIBk0",
"merchant_id": "merchant_1734987651",
"status": "failed",
"amount": 12345,
"net_amount": 12345,
"amount_capturable": 0,
"amount_received": null,
"connector": "bambora",
"client_secret": "pay_TWudxv7ARGWTBaJLIBk0_secret_5kb4OadREAKyUOF3xppu",
"created": "2024-12-27T13:39:39.656Z",
"currency": "USD",
"customer_id": "default - pro_ZH0hRCqu3BjlkqRpxcA3",
"description": "Its my first payment request",
"refunds": null,
"disputes": null,
"mandate_id": null,
"mandate_data": null,
"setup_future_usage": null,
"off_session": null,
"capture_on": null,
"capture_method": "automatic",
"payment_method": "card",
"payment_method_data": {
    "card": {
        "last4": "4242",
        "card_type": null,
        "card_network": null,
        "card_issuer": null,
        "card_issuing_country": null,
        "card_isin": "424242",
        "card_extended_bin": "42424242",
        "card_exp_month": "10",
        "card_exp_year": "25",
        "card_holder_name": "joseph Doe"
    }
},
"payment_token": null,
"shipping": {
    "address": {
        "city": "San Fransico",
        "country": "US",
        "line1": "1467",
        "line2": "Harrison Street",
        "line3": "Harrison Street",
        "zip": "94122",
        "state": "California",
        "first_name": "joseph",
        "last_name": "Doe"
    },
    "phone": {
        "number": "8056594427",
        "country_code": "+91"
    },
    "email": null
},
"billing": {
    "address": {
        "city": "San Fransico",
        "country": "US",
        "line1": "1467",
        "line2": "Harrison Street",
        "line3": "Harrison Street",
        "zip": "94122",
        "state": "California",
        "first_name": "joseph",
        "last_name": "Doe"
    },
    "phone": {
        "number": "8056594427",
        "country_code": "+91"
    },
    "email": null
},
"order_details": null,
"email": "[email protected]",
"name": "John Doe",
"phone": "999999999",
"return_url": "https://duck.com/",
"authentication_type": "no_three_ds",
"statement_descriptor_name": "joseph",
"statement_descriptor_suffix": "JS",
"next_action": null,
"cancellation_reason": null,
"error_code": "314",
"error_message": "[{\"field\":\"billing:name\",\"message\":\"Enter your name\"},{\"field\":\"billing:email_address\",\"message\":\"Enter your email address\"},{\"field\":\"billing:phone_number\",\"message\":\"Enter your phone number\"},{\"field\":\"billing:address_line1\",\"message\":\"Please enter your address\"},{\"field\":\"billing:city\",\"message\":\"Enter your city\"},{\"field\":\"billing:province\",\"message\":\"Select your state/province\"},{\"field\":\"billing:country\",\"message\":\"Select your country\"}]",
"unified_code": null,
"unified_message": null,
"payment_experience": null,
"payment_method_type": "credit",
"connector_label": null,
"business_country": null,
"business_label": "default",
"business_sub_label": null,
"allowed_payment_method_types": null,
"ephemeral_key": {
    "customer_id": "default - pro_ZH0hRCqu3BjlkqRpxcA3",
    "created_at": 1735306779,
    "expires": 1735310379,
    "secret": "epk_caa7b98f7bd2420c8c81e7c3d808ab7f"
},
"manual_retry_allowed": true,
"connector_transaction_id": null,
"frm_message": null,
"metadata": null,
"connector_metadata": null,
"feature_metadata": null,
"reference_id": null,
"payment_link": null,
"profile_id": "pro_ZH0hRCqu3BjlkqRpxcA3",
"surcharge_details": null,
"attempt_count": 1,
"merchant_decision": null,
"merchant_connector_id": "mca_C9137auCnxNqPCUwHmAs",
"incremental_authorization_allowed": false,
"authorization_count": null,
"incremental_authorizations": null,
"expires_on": "2024-12-27T13:54:39.656Z",
"fingerprint": null

}

Expected Behavior

return success

Actual Behavior

return failed

Steps To Reproduce

check the request i sent

Context For The Bug

No response

Environment

Are you using hyperswitch hosted version? Yes/No
If yes, please provide the value of the x-request-id response header to help us debug your issue.

If not (or if building/running locally), please provide the following details:

  1. Operating System or Linux distribution:
  2. Rust version (output of rustc --version): ``
  3. App version (output of cargo r --features vergen -- --version): ``

Have you spent some time checking if this bug has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

@syrakozz syrakozz added C-bug Category: Bug S-awaiting-triage Status: New issues that have not been assessed yet labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Bug S-awaiting-triage Status: New issues that have not been assessed yet
Projects
None yet
Development

No branches or pull requests

1 participant