Skip to content

Commit

Permalink
Merge pull request #7 from Zalo-MiniApp/feat/update-pending-payment-l…
Browse files Browse the repository at this point in the history
…ogic

[ZMA-1083] Update pending payment logic
  • Loading branch information
mister-teddy authored Dec 30, 2024
2 parents a99b67a + d8f029c commit 1ee3c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const CheckoutResultPage: FC = () => {
<Page className="flex flex-col bg-white">
<Header title="Kết quả thanh toán" />
{(function (render: (result: RenderResultProps) => ReactNode) {
if (paymentResult) {
if (paymentResult && paymentResult.resultCode) {
if (paymentResult.resultCode === 1) {
return render({
title: "Thanh toán thành công",
Expand Down

0 comments on commit 1ee3c84

Please sign in to comment.