Skip to content

[ENGA3-553]: Increased the delay to 2 seconds and added a check for OCBC PAO redirect URL.#327

Merged
aashishgurung merged 3 commits intomasterfrom
feature/ENGA3-553
Nov 1, 2022
Merged

[ENGA3-553]: Increased the delay to 2 seconds and added a check for OCBC PAO redirect URL.#327
aashishgurung merged 3 commits intomasterfrom
feature/ENGA3-553

Conversation

@aashishgurung
Copy link
Copy Markdown
Contributor

1. Objective

Increased the delay to 2 seconds.

Jira Ticekt: #553

2. Description of change

We observed 0.5 secs was not enough sometimes with RMS payment method while testing with Shopify. To be on safe side, we increase delay to 2 secs. Plus, we added a check for OCBC PAO redirect URL so that plugin won't identity it as user originated request because we can't add query params in OCBC PAO.

3. Quality assurance

  • Test with any payment method.

🔧 Environments:

  • WooCommerce: v6.7.0
  • WordPress: v6.0.2
  • PHP version: 8.1
  • Omise WooCommerce: 4.25.0

Copy link
Copy Markdown
Contributor

@ajzkk ajzkk left a comment

Choose a reason for hiding this comment

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

You can also use sleep(2) instead of usleep(2000000)

…ry params in redirect URI now. Also implemented polling for delay.
Copy link
Copy Markdown
Contributor

@kan98 kan98 left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Nov 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Copy Markdown
Contributor

@ajzkk ajzkk left a comment

Choose a reason for hiding this comment

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

LGTM

@aashishgurung aashishgurung merged commit ede1919 into master Nov 1, 2022
@aashishgurung aashishgurung deleted the feature/ENGA3-553 branch August 18, 2023 10:24
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.

3 participants