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 WooCommerce version number hasn't been shown properly at user-agent #88

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

guzzilar
Copy link
Contributor

1. Objective

Currently the WooCommerce version number can't be shown at the user-agent.
This PR is bringing the version number back.

screen shot 2561-04-19 at 00 03 53

2. Description of change

• At the moment the code does user-agent assignment, check if function WC exists instead of check class existing.

3. Quality assurance

🔧 Environments:

  • Platform version: WooCommerce 3.3.4, WooCommerce 3.3.5.
  • PHP version: 7.1.16.

✏️ Details:

• Make sure that WooCommerce version number is assigned to USER-AGENT properly when create charges.

Just make an order as normal, then check at the Omise Dashboard, now we should see 'WooCommerce version number' at the user-agent section of charge's log.

screen shot 2561-04-19 at 00 06 45

4. Impact of the change

No

5. Priority of change

High

6. Additional Notes

No

@guzzilar
Copy link
Contributor Author

👍

@guzzilar guzzilar merged commit a510a66 into master Apr 20, 2018
@guzzilar guzzilar deleted the fix-wc-version-doesnot-show-on-useragent branch April 20, 2018 06:23
@guzzilar
Copy link
Contributor Author

test integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants