diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bbe871b0..6dfb0978d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.84.1](https://github.com/juspay/hyperswitch-web/compare/v0.84.0...v0.84.1) (2024-08-13) + + +### Bug Fixes + +* john doe name added ([b46dce2](https://github.com/juspay/hyperswitch-web/commit/b46dce2102ba99d83e4a367f82660e0c61d01f02)) + # [0.84.0](https://github.com/juspay/hyperswitch-web/compare/v0.83.0...v0.84.0) (2024-08-12) diff --git a/cypress-tests/cypress/fixtures/testCustomer.json b/cypress-tests/cypress/fixtures/testCustomer.json index eb925a3e7..cf05ec5d2 100644 --- a/cypress-tests/cypress/fixtures/testCustomer.json +++ b/cypress-tests/cypress/fixtures/testCustomer.json @@ -1,15 +1,15 @@ { - "cardNo":"4242 4242 4242 4242", - "threeDSCardNo":"4000000000003220", - "cardExpiry":"04/24", - "cardCVV":"424", - "billingName":"Arun Mishra", - "cardHolderName":"Arun Mishra", - "email":"arun@gmail.com", - "address":"123 Main Street Apt 4B", - "city":"New York", - "country":"United States", - "state":"New York", - "postalCode":"10001", - "paymentSuccessfulText":"Payment successful" + "cardNo": "4242 4242 4242 4242", + "threeDSCardNo": "4000000000003220", + "cardExpiry": "04/24", + "cardCVV": "424", + "billingName": "John Doe", + "cardHolderName": "John Doe", + "email": "arun@gmail.com", + "address": "123 Main Street Apt 4B", + "city": "New York", + "country": "United States", + "state": "New York", + "postalCode": "10001", + "paymentSuccessfulText": "Payment successful" } diff --git a/cypress-tests/cypress/js-e2e-test-cases-to-refer/api-call-test.cy.js b/cypress-tests/cypress/js-e2e-test-cases-to-refer/api-call-test.cy.js index 819f59ca0..595e83785 100644 --- a/cypress-tests/cypress/js-e2e-test-cases-to-refer/api-call-test.cy.js +++ b/cypress-tests/cypress/js-e2e-test-cases-to-refer/api-call-test.cy.js @@ -43,8 +43,8 @@ const confirmBody = { state: "New York", city: "New York", country: "US", - first_name: "Arun", - last_name: "MishraArunMishra", + first_name: "John", + last_name: "Doe", zip: "10001", line1: "123 Main Street Apt 4B", }, diff --git a/cypress-tests/cypress/js-e2e-test-cases-to-refer/bluesnap-3DS-test.cy.js b/cypress-tests/cypress/js-e2e-test-cases-to-refer/bluesnap-3DS-test.cy.js index b8a00af5c..f3785d88b 100644 --- a/cypress-tests/cypress/js-e2e-test-cases-to-refer/bluesnap-3DS-test.cy.js +++ b/cypress-tests/cypress/js-e2e-test-cases-to-refer/bluesnap-3DS-test.cy.js @@ -44,8 +44,8 @@ const confirmBody = { state: "New York", city: "New York", country: "US", - first_name: "Arun", - last_name: "MishraArunMishra", + first_name: "John", + last_name: "Doe", zip: "10001", line1: "123 Main Street Apt 4B", }, diff --git a/cypress-tests/cypress/js-e2e-test-cases-to-refer/confirm_payload.json b/cypress-tests/cypress/js-e2e-test-cases-to-refer/confirm_payload.json index de4ca537b..7cbc33714 100644 --- a/cypress-tests/cypress/js-e2e-test-cases-to-refer/confirm_payload.json +++ b/cypress-tests/cypress/js-e2e-test-cases-to-refer/confirm_payload.json @@ -1,39 +1,39 @@ { - "client_secret": "pay_nTQ5NfqEVxwKC0GNPgE5_secret_00PSTueBCTVNWmJo3hG1", - "return_url": "http://localhost:9060/completion", - "payment_method": "card", - "payment_method_data": { - "card": { - "card_number": "4000000000003220", - "card_exp_month": "04", - "card_exp_year": "2024", - "card_holder_name": "", - "card_cvc": "424", - "card_issuer": "", - "card_network": "Visa" - } - }, - "billing": { - "address": { - "state": "New York", - "city": "New York", - "country": "US", - "first_name": "Arun", - "last_name": "MishraArunMishra", - "zip": "10001", - "line1": "123 Main Street Apt 4B" - } - }, - "email": "sa@gmail.com", - "browser_info": { - "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", - "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", - "language": "en-US", - "color_depth": 30, - "screen_height": 1117, - "screen_width": 1728, - "time_zone": -330, - "java_enabled": true, - "java_script_enabled": true + "client_secret": "pay_nTQ5NfqEVxwKC0GNPgE5_secret_00PSTueBCTVNWmJo3hG1", + "return_url": "http://localhost:9060/completion", + "payment_method": "card", + "payment_method_data": { + "card": { + "card_number": "4000000000003220", + "card_exp_month": "04", + "card_exp_year": "2024", + "card_holder_name": "", + "card_cvc": "424", + "card_issuer": "", + "card_network": "Visa" } -} \ No newline at end of file + }, + "billing": { + "address": { + "state": "New York", + "city": "New York", + "country": "US", + "first_name": "John", + "last_name": "Doe", + "zip": "10001", + "line1": "123 Main Street Apt 4B" + } + }, + "email": "sa@gmail.com", + "browser_info": { + "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", + "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", + "language": "en-US", + "color_depth": 30, + "screen_height": 1117, + "screen_width": 1728, + "time_zone": -330, + "java_enabled": true, + "java_script_enabled": true + } +} diff --git a/cypress-tests/cypress/js-e2e-test-cases-to-refer/stripe-3DS-test.cy.js b/cypress-tests/cypress/js-e2e-test-cases-to-refer/stripe-3DS-test.cy.js index 763ba32c0..21e7fa02c 100644 --- a/cypress-tests/cypress/js-e2e-test-cases-to-refer/stripe-3DS-test.cy.js +++ b/cypress-tests/cypress/js-e2e-test-cases-to-refer/stripe-3DS-test.cy.js @@ -44,8 +44,8 @@ const confirmBody = { state: "New York", city: "New York", country: "US", - first_name: "Arun", - last_name: "MishraArunMishra", + first_name: "John", + last_name: "Doe", zip: "10001", line1: "123 Main Street Apt 4B", }, diff --git a/cypress-tests/cypress/support/utils.ts b/cypress-tests/cypress/support/utils.ts index b751cce5d..b6b28900d 100644 --- a/cypress-tests/cypress/support/utils.ts +++ b/cypress-tests/cypress/support/utils.ts @@ -41,8 +41,8 @@ export const confirmBody = { state: "New York", city: "New York", country: "US", - first_name: "Arun", - last_name: "MishraArunMishra", + first_name: "John", + last_name: "Doe", zip: "10001", line1: "123 Main Street Apt 4B", }, diff --git a/package-lock.json b/package-lock.json index b8e7224a1..837e0bac9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "orca-payment-page", - "version": "0.84.0", + "version": "0.84.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "orca-payment-page", - "version": "0.84.0", + "version": "0.84.1", "hasInstallScript": true, "dependencies": { "@glennsl/rescript-fetch": "^0.2.0", diff --git a/package.json b/package.json index fa257b12c..6a9ac0fe8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orca-payment-page", - "version": "0.84.0", + "version": "0.84.1", "main": "index.js", "private": true, "dependencies": { diff --git a/src/Utilities/TestUtils.res b/src/Utilities/TestUtils.res index a3e3e38f0..b26121b9d 100644 --- a/src/Utilities/TestUtils.res +++ b/src/Utilities/TestUtils.res @@ -19,8 +19,8 @@ let addNewCardIcon = "addNewCard" "cardNo":"4242 4242 4242 4242", "cardExpiry":"04/24", "cardCVV":"424", - "billingName":"Arun Mishra", - "cardHolderName":"Arun Mishra", + "billingName":"John Doe", + "cardHolderName":"John Doe", "email":"arun@gmail.com", "address":"123 Main Street Apt 4B", "city":"New York",