Skip to content

Commit

Permalink
Merge branch 'main' into sdk-pay-now-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja authored Aug 13, 2024
2 parents 020b740 + 3c82cfb commit ce457fe
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 63 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
26 changes: 13 additions & 13 deletions cypress-tests/cypress/fixtures/testCustomer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"cardNo":"4242 4242 4242 4242",
"threeDSCardNo":"4000000000003220",
"cardExpiry":"04/24",
"cardCVV":"424",
"billingName":"Arun Mishra",
"cardHolderName":"Arun Mishra",
"email":"[email protected]",
"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": "[email protected]",
"address": "123 Main Street Apt 4B",
"city": "New York",
"country": "United States",
"state": "New York",
"postalCode": "10001",
"paymentSuccessfulText": "Payment successful"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"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"
}
}
},
"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": "[email protected]",
"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
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
4 changes: 2 additions & 2 deletions cypress-tests/cypress/support/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orca-payment-page",
"version": "0.84.0",
"version": "0.84.1",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/Utilities/TestUtils.res
Original file line number Diff line number Diff line change
Expand Up @@ -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":"[email protected]",
"address":"123 Main Street Apt 4B",
"city":"New York",
Expand Down

0 comments on commit ce457fe

Please sign in to comment.