omise / omise-woocommerce

Omise WooCommerce Plugin
https://docs.opn.ooo/woocommerce-plugin
MIT License
47 stars 27 forks source link

[ENGA3-491]: Metadata keys is_omise_payment_resolved added as protected metadata. #324

Closed aashishgurung closed 2 years ago

aashishgurung commented 2 years ago

1. Objective

Hide is_omise_payment_resolved metadata from order page.

Jira Ticket: #491

2. Description of change

Added is_omise_payment_resolved as the protected metadata in includes/gateway/class-omise-payment.php.

3. Quality assurance

Check the order page. You should not see is_omise_payment_resolved under custom fields.

Before

Screen Shot 2565-10-26 at 13 13 34

After

Screen Shot 2565-10-26 at 13 13 22

🔧 Environments:

sonarcloud[bot] commented 2 years ago

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication