Skip to content

Commit

Permalink
Merge branch 'main' into header-change
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja authored Jun 25, 2024
2 parents 046dc27 + dc9b9db commit a938ad1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.70.4](https://github.com/juspay/hyperswitch-web/compare/v0.70.3...v0.70.4) (2024-06-25)


### Bug Fixes

* handle requires_customer_action and processing status for pix pa… ([#456](https://github.com/juspay/hyperswitch-web/issues/456)) ([a680e71](https://github.com/juspay/hyperswitch-web/commit/a680e71a73a31eef89d66fd1d35666da53294a51))

## [0.70.3](https://github.com/juspay/hyperswitch-web/compare/v0.70.2...v0.70.3) (2024-06-24)


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.70.3",
"version": "0.70.4",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
4 changes: 3 additions & 1 deletion src/Payments/QRCodeDisplay.res
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ let make = () => {
let dict = json->JSON.Decode.object->Option.getOr(Dict.make())
let status = dict->getString("status", "")

if status === "succeeded" {
if (
status === "succeeded" || status === "requires_customer_action" || status === "processing"
) {
postSubmitResponse(~jsonData=json, ~url=return_url)
} else if status === "failed" {
postFailedSubmitResponse(
Expand Down

0 comments on commit a938ad1

Please sign in to comment.