htdat / woo-viet

The repo for the WordPress plugin "Woo Viet - WooCommerce for Vietnam"
https://wordpress.org/plugins/woo-viet/
37 stars 22 forks source link

Fatal error: paypal standard on cancelled status (With valid PP transaction). #56

Closed i-lean-dev closed 6 years ago

i-lean-dev commented 6 years ago

When set: Standard & Express on: set to USD, other settings not set.

Paypal standard payments get cancelled status even though PayPal IPN log shows all succesfull/validated. Paypal shows correct status in system/payed.

Started after recent upgrade to 1.4.2

fatal error log:

2018-05-06T21:54:48+00:00 CRITICAL Uncaught Error: Call to a member function get_currency() on null in /home/flavorbo/public_html/wp-content/plugins/woo-viet/inc/class-wooviet-vnd-paypal-standard.php:123 Stack trace:

0 /home/flavorbo/public_html/wp-includes/class-wp-hook.php(286): WooViet_VND_PayPal_Standard->match_currency_order(Array)

1 /home/flavorbo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)

2 /home/flavorbo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

3 /home/flavorbo/public_html/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php(49): do_action('valid-paypal-st...', Array)

4 /home/flavorbo/public_html/wp-includes/class-wp-hook.php(286): WC_Gateway_Paypal_IPN_Handler->check_response('')

5 /home/flavorbo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)

6 /home/flavorbo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

7 /home/flavorbo/public_html/wp-content/plugins/wooco

System settings readout: `

WordPress Environment

Home URL: https://flavorboxsaigon.com Site URL: https://flavorboxsaigon.com WC Version: 3.3.5 Log Directory Writable: ✔ WP Version: 4.9.5 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB

Server Environment

Server Info: Apache PHP Version: 7.0.29 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.53.0 OpenSSL/1.0.2k

SUHOSIN Installed: – MySQL Version: 5.6.36 Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 3.3.5 WC Database Prefix: fb_ MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only. Total Database Size: 125.54MB Database Data Size: 87.79MB Database Index Size: 37.75MB fb_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB fb_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB fb_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB fb_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB fb_woocommerce_order_items: Data: 0.13MB + Index: 0.05MB fb_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.67MB fb_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB fb_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB fb_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB fb_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB fb_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB fb_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB fb_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB fb_woocommerce_log: Data: 0.02MB + Index: 0.02MB fb_commentmeta: Data: 0.02MB + Index: 0.03MB fb_comments: Data: 0.14MB + Index: 0.09MB fb_datalist: Data: 0.00MB + Index: 0.00MB fb_duplicator_packages: Data: 0.02MB + Index: 0.02MB fb_gf_addon_feed: Data: 0.00MB + Index: 0.00MB fb_links: Data: 0.02MB + Index: 0.02MB fb_options: Data: 6.11MB + Index: 2.05MB fb_postmeta: Data: 2.52MB + Index: 2.98MB fb_posts: Data: 1.52MB + Index: 0.22MB fb_rg_form: Data: 0.00MB + Index: 0.00MB fb_rg_form_meta: Data: 0.00MB + Index: 0.00MB fb_rg_form_view: Data: 0.01MB + Index: 0.01MB fb_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB fb_rg_lead: Data: 0.01MB + Index: 0.00MB fb_rg_lead_detail: Data: 0.02MB + Index: 0.04MB fb_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB fb_rg_lead_meta: Data: 0.00MB + Index: 0.00MB fb_rg_lead_notes: Data: 0.01MB + Index: 0.00MB fb_smush_dir_images: Data: 0.00MB + Index: 0.00MB fb_termmeta: Data: 0.02MB + Index: 0.03MB fb_terms: Data: 0.02MB + Index: 0.03MB fb_term_relationships: Data: 0.05MB + Index: 0.02MB fb_term_taxonomy: Data: 0.02MB + Index: 0.03MB fb_ulp_campaigns: Data: 0.00MB + Index: 0.00MB fb_ulp_campaign_items: Data: 0.00MB + Index: 0.00MB fb_ulp_layers: Data: 0.18MB + Index: 0.00MB fb_ulp_popups: Data: 0.05MB + Index: 0.00MB fb_ulp_subscribers: Data: 0.00MB + Index: 0.00MB fb_ulp_webfonts: Data: 0.03MB + Index: 0.01MB fb_usermeta: Data: 0.11MB + Index: 0.06MB fb_users: Data: 0.02MB + Index: 0.05MB fb_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB fb_wc_download_log: Data: 0.02MB + Index: 0.03MB fb_wc_webhooks: Data: 0.02MB + Index: 0.02MB fb_wfBadLeechers: Data: 0.00MB + Index: 0.00MB fb_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB fb_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB fb_wfBlocks: Data: 0.00MB + Index: 0.00MB fb_wfBlocks7: Data: 0.02MB + Index: 0.05MB fb_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB fb_wfConfig: Data: 1.44MB + Index: 0.01MB fb_wfCrawlers: Data: 0.00MB + Index: 0.00MB fb_wfFileChanges: Data: 0.02MB + Index: 0.00MB fb_wfFileMods: Data: 5.53MB + Index: 1.19MB fb_wfHits: Data: 1.61MB + Index: 0.26MB fb_wfHoover: Data: 0.00MB + Index: 0.00MB fb_wfIssues: Data: 0.02MB + Index: 0.01MB fb_wfKnownFileList: Data: 2.83MB + Index: 0.36MB fb_wfLeechers: Data: 0.04MB + Index: 0.04MB fb_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB fb_wfLockedOut: Data: 0.00MB + Index: 0.00MB fb_wfLocs: Data: 0.00MB + Index: 0.00MB fb_wfLogins: Data: 0.14MB + Index: 0.03MB fb_wfNet404s: Data: 0.00MB + Index: 0.00MB fb_wfNotifications: Data: 0.00MB + Index: 0.00MB fb_wfPendingIssues: Data: 0.00MB + Index: 0.00MB fb_wfReverseCache: Data: 0.00MB + Index: 0.00MB fb_wfScanners: Data: 0.00MB + Index: 0.00MB fb_wfSNIPCache: Data: 0.00MB + Index: 0.00MB fb_wfStatus: Data: 0.31MB + Index: 0.12MB fb_wfThrottleLog: Data: 0.00MB + Index: 0.00MB fb_wfVulnScanners: Data: 0.00MB + Index: 0.00MB fb_wpbackitup_job_control: Data: 0.02MB + Index: 0.00MB fb_wpbackitup_job_items: Data: 4.50MB + Index: 0.00MB fb_wpbackitup_job_tasks: Data: 0.02MB + Index: 0.00MB fb_yoast_seo_links: Data: 0.00MB + Index: 0.00MB fb_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB wpstg0_comments: Data: 0.13MB + Index: 0.09MB wpstg0_datalist: Data: 0.00MB + Index: 0.00MB wpstg0_duplicator_packages: Data: 0.02MB + Index: 0.02MB wpstg0_gf_addon_feed: Data: 0.00MB + Index: 0.00MB wpstg0_links: Data: 0.02MB + Index: 0.02MB wpstg0_options: Data: 2.52MB + Index: 1.52MB wpstg0_postmeta: Data: 3.52MB + Index: 4.03MB wpstg0_posts: Data: 1.52MB + Index: 0.31MB wpstg0_rg_form: Data: 0.00MB + Index: 0.00MB wpstg0_rg_form_meta: Data: 0.00MB + Index: 0.00MB wpstg0_rg_form_view: Data: 0.01MB + Index: 0.01MB wpstg0_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB wpstg0_rg_lead: Data: 0.01MB + Index: 0.00MB wpstg0_rg_lead_detail: Data: 0.01MB + Index: 0.03MB wpstg0_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB wpstg0_rg_lead_meta: Data: 0.00MB + Index: 0.00MB wpstg0_rg_lead_notes: Data: 0.01MB + Index: 0.00MB wpstg0_smush_dir_images: Data: 0.00MB + Index: 0.00MB wpstg0_termmeta: Data: 0.02MB + Index: 0.03MB wpstg0_terms: Data: 0.02MB + Index: 0.03MB wpstg0_term_relationships: Data: 0.06MB + Index: 0.02MB wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB wpstg0_ulp_campaigns: Data: 0.00MB + Index: 0.00MB wpstg0_ulp_campaign_items: Data: 0.00MB + Index: 0.00MB wpstg0_ulp_layers: Data: 0.18MB + Index: 0.00MB wpstg0_ulp_popups: Data: 0.05MB + Index: 0.00MB wpstg0_ulp_subscribers: Data: 0.00MB + Index: 0.00MB wpstg0_ulp_webfonts: Data: 0.03MB + Index: 0.01MB wpstg0_usermeta: Data: 0.23MB + Index: 0.20MB wpstg0_users: Data: 0.02MB + Index: 0.05MB wpstg0_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB wpstg0_wc_download_log: Data: 0.02MB + Index: 0.03MB wpstg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB wpstg0_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wpstg0_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB wpstg0_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB wpstg0_wfBlocks: Data: 0.00MB + Index: 0.00MB wpstg0_wfBlocks7: Data: 0.02MB + Index: 0.05MB wpstg0_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wpstg0_wfConfig: Data: 0.25MB + Index: 0.01MB wpstg0_wfCrawlers: Data: 0.00MB + Index: 0.00MB wpstg0_wfFileChanges: Data: 0.02MB + Index: 0.00MB wpstg0_wfFileMods: Data: 1.59MB + Index: 0.34MB wpstg0_wfHits: Data: 0.73MB + Index: 0.13MB wpstg0_wfHoover: Data: 0.00MB + Index: 0.00MB wpstg0_wfIssues: Data: 0.00MB + Index: 0.01MB wpstg0_wfKnownFileList: Data: 0.81MB + Index: 0.10MB wpstg0_wfLeechers: Data: 0.01MB + Index: 0.02MB wpstg0_wfLockedOut: Data: 0.00MB + Index: 0.00MB wpstg0_wfLocs: Data: 0.00MB + Index: 0.00MB wpstg0_wfLogins: Data: 0.09MB + Index: 0.02MB wpstg0_wfNet404s: Data: 0.00MB + Index: 0.00MB wpstg0_wfNotifications: Data: 0.00MB + Index: 0.00MB wpstg0_wfPendingIssues: Data: 0.00MB + Index: 0.00MB wpstg0_wfReverseCache: Data: 0.00MB + Index: 0.00MB wpstg0_wfScanners: Data: 0.00MB + Index: 0.00MB wpstg0_wfSNIPCache: Data: 0.00MB + Index: 0.00MB wpstg0_wfStatus: Data: 0.08MB + Index: 0.04MB wpstg0_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wpstg0_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wpstg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wpstg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wpstg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB wpstg0_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.80MB wpstg0_woocommerce_order_items: Data: 0.14MB + Index: 0.06MB wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wpstg0_woocommerce_sessions: Data: 0.13MB + Index: 0.02MB wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wpstg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wpstg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wpstg0_yoast_seo_links: Data: 0.00MB + Index: 0.00MB wpstg0_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB wpstg1_commentmeta: Data: 0.02MB + Index: 0.03MB wpstg1_comments: Data: 0.17MB + Index: 0.16MB wpstg1_datalist: Data: 0.00MB + Index: 0.00MB wpstg1_duplicator_packages: Data: 0.02MB + Index: 0.02MB wpstg1_gf_addon_feed: Data: 0.00MB + Index: 0.00MB wpstg1_links: Data: 0.02MB + Index: 0.02MB wpstg1_options: Data: 2.44MB + Index: 0.47MB wpstg1_postmeta: Data: 3.52MB + Index: 5.03MB wpstg1_posts: Data: 1.52MB + Index: 0.34MB wpstg1_rg_form: Data: 0.00MB + Index: 0.00MB wpstg1_rg_form_meta: Data: 0.00MB + Index: 0.00MB wpstg1_rg_form_view: Data: 0.01MB + Index: 0.01MB wpstg1_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB wpstg1_rg_lead: Data: 0.01MB + Index: 0.00MB wpstg1_rg_lead_detail: Data: 0.02MB + Index: 0.03MB wpstg1_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB wpstg1_rg_lead_meta: Data: 0.00MB + Index: 0.00MB wpstg1_rg_lead_notes: Data: 0.01MB + Index: 0.00MB wpstg1_smush_dir_images: Data: 0.00MB + Index: 0.00MB wpstg1_termmeta: Data: 0.02MB + Index: 0.03MB wpstg1_terms: Data: 0.02MB + Index: 0.03MB wpstg1_term_relationships: Data: 0.06MB + Index: 0.02MB wpstg1_term_taxonomy: Data: 0.02MB + Index: 0.03MB wpstg1_ulp_campaigns: Data: 0.00MB + Index: 0.00MB wpstg1_ulp_campaign_items: Data: 0.00MB + Index: 0.00MB wpstg1_ulp_layers: Data: 0.18MB + Index: 0.00MB wpstg1_ulp_popups: Data: 0.05MB + Index: 0.00MB wpstg1_ulp_subscribers: Data: 0.00MB + Index: 0.00MB wpstg1_ulp_webfonts: Data: 0.03MB + Index: 0.01MB wpstg1_usermeta: Data: 0.28MB + Index: 0.27MB wpstg1_users: Data: 0.02MB + Index: 0.05MB wpstg1_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB wpstg1_wc_download_log: Data: 0.02MB + Index: 0.03MB wpstg1_wc_webhooks: Data: 0.02MB + Index: 0.02MB wpstg1_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wpstg1_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB wpstg1_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB wpstg1_wfBlocks: Data: 0.00MB + Index: 0.00MB wpstg1_wfBlocks7: Data: 0.02MB + Index: 0.05MB wpstg1_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wpstg1_wfConfig: Data: 0.37MB + Index: 0.01MB wpstg1_wfCrawlers: Data: 0.00MB + Index: 0.00MB wpstg1_wfFileChanges: Data: 0.02MB + Index: 0.00MB wpstg1_wfFileMods: Data: 1.62MB + Index: 0.36MB wpstg1_wfHits: Data: 0.60MB + Index: 0.09MB wpstg1_wfHoover: Data: 0.00MB + Index: 0.00MB wpstg1_wfIssues: Data: 0.01MB + Index: 0.01MB wpstg1_wfKnownFileList: Data: 0.82MB + Index: 0.11MB wpstg1_wfLeechers: Data: 0.02MB + Index: 0.03MB wpstg1_wfLockedOut: Data: 0.00MB + Index: 0.00MB wpstg1_wfLocs: Data: 0.00MB + Index: 0.00MB wpstg1_wfLogins: Data: 0.12MB + Index: 0.02MB wpstg1_wfNet404s: Data: 0.00MB + Index: 0.00MB wpstg1_wfNotifications: Data: 0.00MB + Index: 0.00MB wpstg1_wfPendingIssues: Data: 0.00MB + Index: 0.00MB wpstg1_wfReverseCache: Data: 0.00MB + Index: 0.00MB wpstg1_wfScanners: Data: 0.00MB + Index: 0.00MB wpstg1_wfSNIPCache: Data: 0.00MB + Index: 0.00MB wpstg1_wfStatus: Data: 0.08MB + Index: 0.04MB wpstg1_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wpstg1_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wpstg1_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wpstg1_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wpstg1_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wpstg1_woocommerce_log: Data: 0.02MB + Index: 0.02MB wpstg1_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.86MB wpstg1_woocommerce_order_items: Data: 0.16MB + Index: 0.06MB wpstg1_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wpstg1_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wpstg1_woocommerce_sessions: Data: 0.20MB + Index: 0.02MB wpstg1_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wpstg1_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wpstg1_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wpstg1_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wpstg1_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wpstg1_wpbackitup_job_control: Data: 0.02MB + Index: 0.00MB wpstg1_wpbackitup_job_items: Data: 3.52MB + Index: 0.00MB wpstg1_wpbackitup_job_tasks: Data: 0.02MB + Index: 0.00MB wpstg1_yoast_seo_links: Data: 0.00MB + Index: 0.00MB wpstg1_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB wpstg2_commentmeta: Data: 0.02MB + Index: 0.03MB wpstg2_comments: Data: 0.19MB + Index: 0.16MB wpstg2_datalist: Data: 0.00MB + Index: 0.00MB wpstg2_duplicator_packages: Data: 0.02MB + Index: 0.02MB wpstg2_gf_addon_feed: Data: 0.00MB + Index: 0.00MB wpstg2_links: Data: 0.02MB + Index: 0.02MB wpstg2_options: Data: 2.52MB + Index: 0.50MB wpstg2_postmeta: Data: 3.52MB + Index: 5.03MB wpstg2_posts: Data: 1.52MB + Index: 0.34MB wpstg2_rg_form: Data: 0.00MB + Index: 0.00MB wpstg2_rg_form_meta: Data: 0.00MB + Index: 0.00MB wpstg2_rg_form_view: Data: 0.01MB + Index: 0.01MB wpstg2_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB wpstg2_rg_lead: Data: 0.01MB + Index: 0.00MB wpstg2_rg_lead_detail: Data: 0.02MB + Index: 0.03MB wpstg2_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB wpstg2_rg_lead_meta: Data: 0.00MB + Index: 0.00MB wpstg2_rg_lead_notes: Data: 0.01MB + Index: 0.00MB wpstg2_smush_dir_images: Data: 0.00MB + Index: 0.00MB wpstg2_termmeta: Data: 0.02MB + Index: 0.03MB wpstg2_terms: Data: 0.02MB + Index: 0.03MB wpstg2_term_relationships: Data: 0.06MB + Index: 0.02MB wpstg2_term_taxonomy: Data: 0.02MB + Index: 0.03MB wpstg2_ulp_campaigns: Data: 0.00MB + Index: 0.00MB wpstg2_ulp_campaign_items: Data: 0.00MB + Index: 0.00MB wpstg2_ulp_layers: Data: 0.18MB + Index: 0.00MB wpstg2_ulp_popups: Data: 0.05MB + Index: 0.00MB wpstg2_ulp_subscribers: Data: 0.00MB + Index: 0.00MB wpstg2_ulp_webfonts: Data: 0.03MB + Index: 0.01MB wpstg2_usermeta: Data: 0.28MB + Index: 0.27MB wpstg2_users: Data: 0.02MB + Index: 0.05MB wpstg2_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB wpstg2_wc_download_log: Data: 0.02MB + Index: 0.03MB wpstg2_wc_webhooks: Data: 0.02MB + Index: 0.02MB wpstg2_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wpstg2_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB wpstg2_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB wpstg2_wfBlocks: Data: 0.00MB + Index: 0.00MB wpstg2_wfBlocks7: Data: 0.02MB + Index: 0.05MB wpstg2_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wpstg2_wfConfig: Data: 0.37MB + Index: 0.01MB wpstg2_wfCrawlers: Data: 0.00MB + Index: 0.00MB wpstg2_wfFileChanges: Data: 0.02MB + Index: 0.00MB wpstg2_wfFileMods: Data: 6.19MB + Index: 1.33MB wpstg2_wfHits: Data: 1.00MB + Index: 0.13MB wpstg2_wfHoover: Data: 0.00MB + Index: 0.00MB wpstg2_wfIssues: Data: 0.01MB + Index: 0.01MB wpstg2_wfKnownFileList: Data: 3.17MB + Index: 0.41MB wpstg2_wfLeechers: Data: 0.02MB + Index: 0.03MB wpstg2_wfLockedOut: Data: 0.00MB + Index: 0.00MB wpstg2_wfLocs: Data: 0.00MB + Index: 0.00MB wpstg2_wfLogins: Data: 0.12MB + Index: 0.02MB wpstg2_wfNet404s: Data: 0.00MB + Index: 0.00MB wpstg2_wfNotifications: Data: 0.00MB + Index: 0.00MB wpstg2_wfPendingIssues: Data: 0.00MB + Index: 0.00MB wpstg2_wfReverseCache: Data: 0.00MB + Index: 0.00MB wpstg2_wfScanners: Data: 0.00MB + Index: 0.00MB wpstg2_wfSNIPCache: Data: 0.00MB + Index: 0.00MB wpstg2_wfStatus: Data: 0.19MB + Index: 0.08MB wpstg2_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wpstg2_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wpstg2_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wpstg2_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB wpstg2_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB wpstg2_woocommerce_log: Data: 0.02MB + Index: 0.02MB wpstg2_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.86MB wpstg2_woocommerce_order_items: Data: 0.16MB + Index: 0.06MB wpstg2_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB wpstg2_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB wpstg2_woocommerce_sessions: Data: 0.28MB + Index: 0.02MB wpstg2_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wpstg2_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB wpstg2_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB wpstg2_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wpstg2_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB wpstg2_wpbackitup_job_control: Data: 0.02MB + Index: 0.00MB wpstg2_wpbackitup_job_items: Data: 3.52MB + Index: 0.00MB wpstg2_wpbackitup_job_tasks: Data: 0.02MB + Index: 0.00MB wpstg2_yoast_seo_links: Data: 0.00MB + Index: 0.00MB wpstg2_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB

Post Type Counts

acf: 3 attachment: 303 nav_menu_item: 5 page: 11 post: 4 product: 144 product_variation: 267 revision: 216 shop_coupon: 25 shop_order: 404 shop_order_refund: 1 woo_discount: 1

Security

Secure connection (HTTPS): ✔ Hide errors from visitors: ✔

Active Plugins (29)

Gravity Forms: by rocketgenius – 2.2.3.6 ACF Content Analysis for Yoast SEO: by Thomas Kräftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 2.0.1

ACF for Woocommerce: by Cat's Plugins – 1.0.1 – Not tested with the active version of WooCommerce Advanced Custom Fields: Multiple Fields per row: by Unihost – 1.0.72 Advanced Custom Fields: by Elliot Condon – 4.4.12 Akismet Anti-Spam: by Automattic – 4.0.3 Duplicator: by Snap Creek – 1.2.36 Facebook for WooCommerce: by Facebook – 1.8.7 Google Analytics: by ShareThis – 2.1.4 Improved Variable Product Attributes for WooCommerce: by Mihajlovic Nenad – 4.0.1 – Not tested with the active version of WooCommerce Layered Popups: by Halfdata Inc. – 6.00

Product Sales Report for WooCommerce: by Potent Plugins – 1.4.8 – Not tested with the active version of WooCommerce Storefront Powerpack: by WooCommerce – 1.4.1 – 1.4.7 is available W3 Total Cache: by Frederick Townes – 0.9.7 WC Password Strength Settings: by Daniel Santoro – 2.0.2 Woo Discount Rules PRO: by Flycart Technologies LLP – 1.5.11 Advanced Order Export For WooCommerce: by AlgolPlus – 1.5.4 Woo Product Slider and Carousel with category: by WP Online Support – 1.2.1 Woo Viet - WooCommerce for Vietnam: by htdat – 1.4.2 – Not tested with the active version of WooCommerce WooCommerce Checkout Manager: by Visser Labs – 4.2.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.1.8 WooCommerce Simply Order Export: by Ankit Gade – 2.1.9 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.3.5 Wordfence Security: by Wordfence – 7.1.4 Yoast SEO: by Team Yoast – 7.4.2 WP File Manager: by mndpsingh287 – 2.4 WP Smush: by WPMU DEV – 2.7.8 WP Staging: by WP-Staging – 2.2.6 WPB WooCommerce Product slider: by wpbean – 2.0.6.4

Settings

API Enabled: ✔ Force SSL: – Currency: VND (₫) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5)

WC Pages

Shop base: #5 - /shop/ Basket: #6 - /cart-page/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ❌ Page not set

Theme

Name: Flavorbox - Storefront Child Theme Version: 1.0.0 Author URL: https://digital-launch.com Child Theme: ✔ Parent Theme Name: Storefront Parent Theme Version: 2.2.5 – 2.2.8 is available Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ✔

Templates

Overrides: flavorbox/woocommerce/archive-product.php version 2.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/auth/footer.php flavorbox/woocommerce/auth/form-grant-access.php flavorbox/woocommerce/auth/form-login.php version 2.4.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/auth/header.php flavorbox/woocommerce/cart/cart-empty.php flavorbox/woocommerce/cart/cart-item-data.php flavorbox/woocommerce/cart/cart-shipping.php flavorbox/woocommerce/cart/cart-totals.php flavorbox/woocommerce/cart/cart.php version 3.1.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/cart/cross-sells.php flavorbox/woocommerce/cart/mini-cart.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/cart/proceed-to-checkout-button.php flavorbox/woocommerce/cart/shipping-calculator.php flavorbox/woocommerce/checkout/cart-errors.php flavorbox/woocommerce/checkout/form-billing.php flavorbox/woocommerce/checkout/form-checkout.php flavorbox/woocommerce/checkout/form-coupon.php version 2.2 is out of date. The core version is 3.3.0 flavorbox/woocommerce/checkout/form-login.php flavorbox/woocommerce/checkout/form-pay.php version 2.5.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/checkout/form-shipping.php flavorbox/woocommerce/checkout/order-receipt.php flavorbox/woocommerce/checkout/payment-method.php flavorbox/woocommerce/checkout/payment.php version 2.5.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/checkout/review-order.php version 2.3.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/checkout/terms.php flavorbox/woocommerce/checkout/thankyou.php flavorbox/woocommerce/content-product.php flavorbox/woocommerce/content-product_cat.php flavorbox/woocommerce/content-single-product.php flavorbox/woocommerce/content-widget-product.php version 2.5.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/emails/admin-cancelled-order.php flavorbox/woocommerce/emails/admin-failed-order.php flavorbox/woocommerce/emails/admin-new-order.php flavorbox/woocommerce/emails/customer-completed-order.php flavorbox/woocommerce/emails/customer-invoice.php version 2.5.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/emails/customer-new-account.php version - is out of date. The core version is 1.6.4 flavorbox/woocommerce/emails/customer-note.php flavorbox/woocommerce/emails/customer-on-hold-order.php flavorbox/woocommerce/emails/customer-processing-order.php flavorbox/woocommerce/emails/customer-refunded-order.php flavorbox/woocommerce/emails/customer-reset-password.php flavorbox/woocommerce/emails/email-addresses.php flavorbox/woocommerce/emails/email-customer-details.php flavorbox/woocommerce/emails/email-downloads.php flavorbox/woocommerce/emails/email-footer.php flavorbox/woocommerce/emails/email-header.php flavorbox/woocommerce/emails/email-order-details.php version 3.2.0 is out of date. The core version is 3.3.1 flavorbox/woocommerce/emails/email-order-items.php flavorbox/woocommerce/emails/email-styles.php version 2.3.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/emails/plain/admin-cancelled-order.php flavorbox/woocommerce/emails/plain/admin-failed-order.php flavorbox/woocommerce/emails/plain/admin-new-order.php flavorbox/woocommerce/emails/plain/customer-completed-order.php flavorbox/woocommerce/emails/plain/customer-invoice.php flavorbox/woocommerce/emails/plain/customer-new-account.php flavorbox/woocommerce/emails/plain/customer-note.php flavorbox/woocommerce/emails/plain/customer-on-hold-order.php flavorbox/woocommerce/emails/plain/customer-processing-order.php flavorbox/woocommerce/emails/plain/customer-refunded-order.php flavorbox/woocommerce/emails/plain/customer-reset-password.php flavorbox/woocommerce/emails/plain/email-addresses.php flavorbox/woocommerce/emails/plain/email-customer-details.php flavorbox/woocommerce/emails/plain/email-downloads.php flavorbox/woocommerce/emails/plain/email-order-details.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/emails/plain/email-order-items.php flavorbox/woocommerce/global/breadcrumb.php flavorbox/woocommerce/global/form-login.php version 2.1.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/global/quantity-input.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/global/sidebar.php flavorbox/woocommerce/global/wrapper-end.php version 1.6.4 is out of date. The core version is 3.3.0 flavorbox/woocommerce/global/wrapper-start.php version 1.6.4 is out of date. The core version is 3.3.0 flavorbox/woocommerce/loop/add-to-cart.php version 3.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/loop/loop-end.php flavorbox/woocommerce/loop/loop-start.php version 2.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/loop/no-products-found.php flavorbox/woocommerce/loop/orderby.php version 2.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/loop/pagination.php version 2.2.2 is out of date. The core version is 3.3.1 flavorbox/woocommerce/loop/price.php flavorbox/woocommerce/loop/rating.php flavorbox/woocommerce/loop/result-count.php version 3.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/loop/sale-flash.php flavorbox/woocommerce/myaccount/dashboard.php flavorbox/woocommerce/myaccount/downloads.php flavorbox/woocommerce/myaccount/form-add-payment-method.php version 3.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/form-edit-account.php version 2.6.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/form-edit-address.php version 3.0.9 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/form-login.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/form-lost-password.php version 3.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/form-reset-password.php version 3.0.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/myaccount/lost-password-confirmation.php flavorbox/woocommerce/myaccount/my-account.php flavorbox/woocommerce/myaccount/my-address.php flavorbox/woocommerce/myaccount/my-downloads.php flavorbox/woocommerce/myaccount/my-orders.php flavorbox/woocommerce/myaccount/navigation.php flavorbox/woocommerce/myaccount/orders.php flavorbox/woocommerce/myaccount/payment-methods.php flavorbox/woocommerce/myaccount/view-order.php flavorbox/woocommerce/notices/error.php version 1.6.4 is out of date. The core version is 3.3.0 flavorbox/woocommerce/notices/notice.php flavorbox/woocommerce/notices/success.php version 1.6.4 is out of date. The core version is 3.3.0 flavorbox/woocommerce/order/form-tracking.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/order/order-again.php flavorbox/woocommerce/order/order-details-customer.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/order/order-details-item.php flavorbox/woocommerce/order/order-details.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/order/order-downloads.php version 3.2.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/order/tracking.php flavorbox/woocommerce/product-searchform.php version 2.5.0 is out of date. The core version is 3.3.0 flavorbox/woocommerce/single-product/add-to-cart/external.php flavorbox/woocommerce/single-product/add-to-cart/grouped.php version 3.0.7 is out of date. The core version is 3.3.0 flavorbox/woocommerce/single-product/add-to-cart/simple.php flavorbox/woocommerce/single-product/add-to-cart/variable.php flavorbox/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php flavorbox/woocommerce/single-product/add-to-cart/variation.php flavorbox/woocommerce/single-product/meta.php flavorbox/woocommerce/single-product/photoswipe.php flavorbox/woocommerce/single-product/price.php flavorbox/woocommerce/single-product/product-attributes.php flavorbox/woocommerce/single-product/product-image.php version 3.1.0 is out of date. The core version is 3.3.2 flavorbox/woocommerce/single-product/product-thumbnails.php version 3.1.0 is out of date. The core version is 3.3.2 flavorbox/woocommerce/single-product/rating.php flavorbox/woocommerce/single-product/related.php flavorbox/woocommerce/single-product/review-meta.php flavorbox/woocommerce/single-product/review-rating.php flavorbox/woocommerce/single-product/review.php flavorbox/woocommerce/single-product/sale-flash.php flavorbox/woocommerce/single-product/share.php flavorbox/woocommerce/single-product/short-description.php version 1.6.4 is out of date. The core version is 3.3.0 flavorbox/woocommerce/single-product/stock.php flavorbox/woocommerce/single-product/tabs/additional-information.php flavorbox/woocommerce/single-product/tabs/description.php flavorbox/woocommerce/single-product/tabs/tabs.php flavorbox/woocommerce/single-product/title.php flavorbox/woocommerce/single-product/up-sells.php flavorbox/woocommerce/single-product-reviews.php flavorbox/woocommerce/single-product.php flavorbox/woocommerce/taxonomy-product_cat.php flavorbox/woocommerce/taxonomy-product_tag.php

htdat commented 6 years ago

Thanks for your detailed report. I am looking on it.


This is my own note:

1 - https://github.com/htdat/woo-viet/blob/1.4/inc/class-wooviet-vnd-paypal-standard.php#L48 should be the 9 priority.

2 - \WooViet_VND_PayPal_Standard::match_currency_order() should get the order instance - $order. Looks similar to like this.

3 - Need to make sure \WC_Gateway_Paypal_IPN_Handler::validate_amount() and validate_currency() are working right as well - ref

htdat commented 6 years ago

@i-lean-dev - would you mind to download this 1.4.3-dev version for testing? https://github.com/htdat/woo-viet/archive/1.4.3-dev.zip

I've included the fix for this issue. It should work now. Thanks in advance.

i-lean-dev commented 6 years ago

Ok got it thanks, we'll test and get back to you

i-lean-dev commented 6 years ago

Hi, when making an order it now stays on 'pending' and paypal sends out an 'incorrect IPN setting' message to us.

important note: -> 'paypal express' changed the setting to unset as we dont use it.

paypal message: schermafbeelding 2018-05-21 om 19 52 06

htdat commented 6 years ago

Thanks for updating us. It looks like this is more a setting of PayPal on your site, and not an issue with Woo Viet.

If you disable Woo Viet, temporarily switch to USD, does the issue persist?