feat(connector): [CYBERSOURCE] add SEK currency for cybersource#8048
Merged
likhinbopanna merged 1 commit intomainfrom May 19, 2025
Merged
feat(connector): [CYBERSOURCE] add SEK currency for cybersource#8048likhinbopanna merged 1 commit intomainfrom
likhinbopanna merged 1 commit intomainfrom
Conversation
mrudulvajpayee4935
approved these changes
May 16, 2025
SanchithHegde
approved these changes
May 16, 2025
Contributor
ShankarSinghC
left a comment
There was a problem hiding this comment.
Can you add a test case for making a payment in SEK currency?
pixincreate
added a commit
that referenced
this pull request
May 20, 2025
…ss-typos * 'main' of github.com:juspay/hyperswitch: chore(version): 2025.05.20.0 feat(core): add all_keys_required in confirm and psync payload (#7998) fix(connector): [CASHTOCODE] Added supported countries and currencies (#8060) feat(connector): [CYBERSOURCE] add SEK currency for cybersource (#8048) build(deps): migrate usages of `once_cell` crate to standard library equivalents (#8030) feat(core): [Network Tokenization] pre network tokenization (#6873) feat(router): add open router integration for debit routing (#7907) chore(cypress): Update creds for stripe (#8069) chore(version): 2025.05.19.0
iemyashasvi
pushed a commit
that referenced
this pull request
May 22, 2025
Co-authored-by: Debarati Ghatak <debarati.ghatak@Debarati-Ghatak-FW569NC29L.local>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
This PR adds SEK currency for cybersource
Additional Changes
Motivation and Context
How did you test it?
/payment curl
curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_T2i3ahN91KOsWsk7hGjfY7qN35q2bE2xPIyL0kd8bNDk2rmvMSb4rsrOx4HJoGSE' \ --data-raw '{ "amount": 700, "currency": "SEK", "confirm": true, "payment_link": false, "capture_on": "2029-09-10T10:11:12Z", "amount_to_capture": 700, "name": "John Doe", "email": "dg@example.com", "phone": "999999999", "phone_country_code": "+1", "description": "Its my first payment request", "authentication_type": "no_three_ds", "return_url": "https://google.com", "payment_method_data": { "card": { "card_number": "4111 1111 1111 1111", "card_exp_month": "12", "card_exp_year": "30", "card_cvc": "123" }, "billing": { "address": { "line1": "Storgatan 14", "line2": "Lägenhet 67", "city": "Stockholm", "state": " Bourgogne-Franche-Comté", "country": "SE", "zip": "114 55", "first_name": "Max", "last_name": "Mustermann" } } }, "payment_method": "card", "payment_method_type": "credit", "browser_info": { "color_depth": 24, "java_enabled": true, "java_script_enabled": true, "language": "en-GB", "screen_height": 720, "screen_width": 1280, "time_zone": -330, "ip_address": "208.127.127.193", "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0" }, "metadata": { "udf1": "value1", "new_customer": "true", "login_date": "2019-09-10T10:11:12Z" }, "order_details": [ { "product_name": "Tea", "quantity": 1, "amount": 110, "product_img_link": "https://thumbs.dreamstime.com/b/indian-tea-spices-masala-chai-33827904.jpg" }, { "product_name": "Tea", "quantity": 1, "amount": 110, "product_img_link": "https://thumbs.dreamstime.com/b/indian-tea-spices-masala-chai-33827904.jpg" }, { "product_name": "Tea", "quantity": 1, "amount": 110, "product_img_link": "https://thumbs.dreamstime.com/b/indian-tea-spices-masala-chai-33827904.jpg" } ] }'Response (currently failing, since test account does not have SEK enabled)
Checklist
cargo +nightly fmt --allcargo clippy