Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/context validation #9

Merged
merged 8 commits into from
Dec 29, 2023
Merged

Fix/context validation #9

merged 8 commits into from
Dec 29, 2023

Conversation

SGFGOV
Copy link
Owner

@SGFGOV SGFGOV commented Nov 13, 2023

No description provided.

Govind Diwakar added 2 commits November 13, 2023 08:23
@SGFGOV SGFGOV self-assigned this Nov 13, 2023
@@ -161,6 +161,12 @@ abstract class RazorpayBase extends AbstractPaymentProcessor {
...intentRequestData,
};

if(!(customer && customer?.billing_address?.phone && customer?.phone ))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if(!(customer && customer?.billing_address?.phone && customer?.phone ))
if(!(customer?.billing_address?.phone || customer?.phone ))

We are failing with new version, I think this should fix it

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey thanks for fixing this. have you tested your fix ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks fixed it

@SGFGOV SGFGOV merged commit 0e80005 into master Dec 29, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants