on php 8.2+ (latest WP version) we get this error after plugin activation (se WP_DEBUG & WP_DEBUG_DISPLAY to enabled):
Warning: Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php on line 42 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php on line 53 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php on line 54 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/vendor/checkout/checkout-sdk-php/lib/Checkout/AbstractStaticKeysCheckoutSdkBuilder.php on line 42 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php:42) in /var/www/html/wp-admin/includes/misc.php on line 1438 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php:42) in /var/www/html/wp-includes/functions.php on line 7137 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php:42) in /var/www/html/wp-admin/admin-header.php on line 9 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php:42) in /var/www/html/wp-includes/option.php on line 1715 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/checkout-com-unified-payments-api/lib/class-checkout-sdk.php:42) in /var/www/html/wp-includes/option.php on line 1716
With the latest version of the plugin (4.7.0), if you go to the checkout, click paypal pay button, the paypal window opens, you then close (without completing), you leave page and come back to checkout or refresh the page, the paypal button is no longer there, and the place order button doesn’t work
Seems to be something to do with the id that is kept in session
Hi,
You have a missing wrapper element (id=”wfacp-sec-wrapper”) on the express checkout templates which are causing a bug with the label display and the user can not see their input value for the additional checkout fields
We have added the tag our plugin files so please can you let me know when this update has been made so that we can enable auto update on the plugin
Many thanks
Laura
]]>There are lots of PHP warning message at my server like the following:
2024/02/28 15:49:01 [error] 117417#117417: *907719 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined property: stdClass::$id in /***/public/wp-content/plugins/checkout-com-unified-payments-api/includes/class-wc-gateway-checkout-com-cards.php on line 1038” while reading response header from upstream,…..
I think, these 1000s of log messages causing slow response time from my server to every http request.
This plugin doesn’t appear to be supported/tested on the latest versions of WP/woocommerce using HPOS – Are there any plans to update this in the near future?
Roy
]]>Hello team,
I have set up the checkout.com sandbox account with woocommerce in WordPress.
Also, follow all the steps mentioned in this doc https://www.checkout.com/docs/payments/accept-payments/connect-to-an-ecommerce-platform/woocommerce
I have created a secret key, public key and registered webhook.
But when I am trying to place an order I am getting an error “An error has occurred while processing your payment.” and unable to place an order.
Please help me with this issue. I really appreciate any help you can provide.
hellos,
when your try to place order using your this plugin
it will Give Error “An error has occurred while processing your payment. The endpoint did not accept the request. (Code: 401) ”
Hi my client would like to use checkout.com payment gateway but after plugin installation & activation i get error messages in front end and in admin panel could you please take a look.
https://prnt.sc/Gj7F_278CWke
Hello!
I want to use google pay but I am facing this problem
[13-Dec-2022 18:34:22 UTC] PHP Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php73) in /home/1111/public_html/wp-content/plugins/checkout-com-unified-payments-api/includes/class-wc-gateway-checkout-com-google-pay.php on line 141
[13-Dec-2022 18:34:22 UTC] PHP Fatal error: Uncaught Error: Call to a member function getTokensClient() on null in /home/11111/public_html/wp-content/plugins/checkout-com-unified-payments-api/includes/api/class-wc-checkoutcom-api-request.php:637
Stack trace:
Order cannot set and always showing internal server error!
Can you help please?
Thank you
]]>Hi
I have setted up a sandbox environment. But during checkout I get an error “Undefined index: wc-wc_checkout_com_cards-payment-token”. In the sandbox, I got the public and secret keys, I also installed the webhook.
Also, when checking the webhook, on the Webhook tab, after ajax request I gor an emty response. After checking your code, I found that it does not pass the test validateSecretKey and validatePublicKey in file checkout-com-unified-payments-api/vendor/checkout/checkout-sdk-php/lib/Checkout/AbstractStaticKeysCheckoutSdkBuilder.php because test pattern is
“/^pk_(test_)?(\\w{8})-(\\w{4})-(\\w{4})-(\\w{4})-(\\w{12})$/” and a key is pk_sbox_xxxxxxxxxxxxxxxxxxxxxxxxxxx. How can it be? In your plugin you are using sdk package version 2.5.1 but last version is 3.0.2 and it has another pattern “/^pk_(sbox_)?[a-z2-7]{26}[a-z2-7*#$=]$/” wich should work. I have temporary disabled this check and try to run webhook check, but got an error “Webhook is not configured with the current site or there is some issue with connection, Please check logs or try again.”. I have checked the code again and found that it did not pass the condition is_registered in file checkout-com-unified-payments-api/includes/settings/class-wc-checkoutcom-webhook.php on line 232, the $this-get_list() function returned an empty array, and throws the CheckoutApiException without any data, only with 401 code, wich means unauthorized.
What am I doing wrong? Am I using the wrong version of the API? But I don’t see where to change it.
Hello
We provide globally delivery and need collecting payment globally,
Do you support Chinese seller?
Uncaught Error: Call to undefined function GuzzleHttp\choose_handler()
GuzzleHttp is conflicting with MailJet for WordPress plugin https://www.ads-software.com/plugins/mailjet-for-wordpress/
Please test the plugin when MailJet for WordPress
is activated on site.
Thanks
]]>Steps to be followed to get the error.
1. Set up the plugin by adding the Secret Key and Public Key Provided.
2. Open the shop page.
3. Add a product to the cart
4. Proceed to Checkout.
5. Select Checkout.com in Payment Gateway and enter any card number from https://www.checkout.com/docs/previous/testing/test-card-numbers
6. Click on Place Order.
7. It shows a Failure alert with the text “An error has occurred while processing your payment.”.
///—– What I did To Debug ——///
Inside (path-to-plugin-root\includes\api\class-wc-checkoutcom-api-request.php) file on line number 125 I added error_log(json_encode($ex));.
This gave me a string of the Response from the API.
{“request_id”:”$request_id_here”,”http_status_code”:422,”error_details”:{“request_id”:”$request_id_here”,”error_type”:”request_invalid”,”error_codes”:[“processing_channel_id_required”]},”http_metadata”:{}}
(Removed request id for some reason..)
]]>HI, On a fresh install of WP and Woo I created a test purchase using checkout.com sandbox. The payments were authenticated and captured but the Order Status is not updated and is still on Processing. Webhook url is setup on checkout.com sandbox it is also using sandbox api keys.
Test purchase is done on both a simple product and a subscription product.Also tried deactivating the Security Plugin.
SYSTEM REPORT:
### WordPress Environment ###
WordPress address (URL): https://subscriptions.voomvaya.com
Site address (URL): https://subscriptions.voomvaya.com
WC Version: 6.3.1
REST API Version: ? 6.3.1
WC Blocks Version: ? 6.9.0
Action Scheduler Version: ? 3.4.0
WC Admin Version: ? 3.2.1
Log Directory Writable: ?
WP Version: 5.9.3
WP Multisite: –
WP Memory Limit: 120 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –
### Server Environment ###
Server Info: Apache
PHP Version: 7.3.33
PHP Post Max Size: 64 MB
PHP Time Limit: 300
PHP Max Input Vars: 1000
cURL Version: 7.81.0
OpenSSL/1.1.1n
SUHOSIN Installed: –
MySQL Version: 5.5.5-10.1.48-MariaDB
Max Upload Size: 30 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
WC Database Version: 6.3.1
WC Database Prefix: wp0q_
Total Database Size: 5.33MB
Database Data Size: 3.72MB
Database Index Size: 1.61MB
wp0q_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp0q_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp0q_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_acl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab_net: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
cerber_qmem: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_traffic: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp0q_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_cerber_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_cerber_sets: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
wp0q_cerber_uss: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp0q_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_loginizer_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_options: Data: 2.48MB + Index: 0.06MB + Engine InnoDB
wp0q_postmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp0q_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp0q_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp0q_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp0q_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp0q_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp0q_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp0q_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp0q_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp0q_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
### Post Type Counts ###
attachment: 1
page: 7
post: 2
product: 2
revision: 1
shop_order: 2
shop_subscription: 2
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (5) ###
Checkout.com Payment Gateway: by Checkout.com – 4.3.8
Loginizer: by Softaculous – 1.7.0
WooCommerce Subscriptions: by WooCommerce – 4.1.0
WooCommerce: by Automattic – 6.3.1
WP Cerber Security, Anti-spam & Malware Scan: by Cerber Tech Inc. – 8.9.6
### Inactive Plugins (0) ###
### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription)
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)
Connected to WooCommerce.com: ?
### WC Pages ###
Shop base: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My account: #9 - /my-account/
Terms and conditions: ? Page not set
### Theme ###
Name: Twenty Twenty-One
Version: 1.5
Author URL: https://www.ads-software.com/
Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ?
### Templates ###
Overrides: –
### Subscriptions ###
WCS_DEBUG: ? No
Subscriptions Mode: ? Live
Subscriptions Live URL: https://subscriptions.voomvaya.com
Subscription Statuses: wc-pending: 2
WooCommerce Account Connected: ? Yes
Active Product Key: ? No
Report Cache Enabled: ? Yes
Cache Update Failures: ? 0 failure
### Store Setup ###
Country / State: United States (US) — California
### Subscriptions by Payment Gateway ###
Checkout.com: wc-pending: 2
### Payment Gateway Support ###
Checkout.com: products
refunds
tokenization
subscriptions
subscription_cancellation
subscription_suspension
subscription_reactivation
subscription_amount_changes
subscription_date_changes
subscription_payment_method_change
subscription_payment_method_change_customer
subscription_payment_method_change_admin
multiple_subscriptions
Checkout.com: products
### Action Scheduler ###
Complete: 12
Oldest: 2022-04-11 14:10:08 +0000
Newest: 2022-04-11 14:42:06 +0000
Pending: 1
Oldest: 2022-04-11 16:02:57 +0000
Newest: 2022-04-11 16:02:57 +0000
### Status report information ###
Generated at: 2022-04-11 14:42:33 +00:00
]]>
— Deleted
]]>hellos,
when your try to place order using your this plugin
it will Give Error “An error has occurred while processing your payment. The endpoint did not accept the request. (Code: 401) ”
please see below Screenshot
https://prnt.sc/4jYqjCAPGpQK
i try many thing but can not get a success
please help me to solve this problem
CRITICAL Uncaught Error: Call to a member function get_billing_country()
on null
Getting this error with the POS plugin. Reason get_icon function is being called in backend and you have a filter is hooked with get_icon filter of woocommerce and in your filter, you have used this function WC_Checkoutcom_Utility::get_alternative_payment_methods()
in that function WC()->customer is null and get_billing_country() is being called on null so this is causing the issue.
Please add the null or empty check before calling the WC()->customer->get_billing_country() to avoid this conflict.
Thanks
]]>cko-frames-integration.js line 22 causes SyntaxError: Unexpected token ‘.’
To replicate use iPhone6s running Safari v.12, this can be done in a tool like BrowserStack.
Changing the cardholderName to get values in a different way fixes this issue
e.g.
cardholderName = jQuery(‘#billing_first_name’).val()+’ ‘+jQuery(‘#billing_last_name’).val();
This issue has been present since the plugin changed around 3 months ago
]]>Hello. Is it possible to show the payment reference number in thank you page and order confirmation email?
]]>Hi
Please check
POST https://api.sandbox.checkout.com/tokens 401
VM9:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at XMLHttpRequest.v.onreadystatechange
Thanks
Kunjan
Hi,
On our Dev site I have upgraded PHP from 7.2 to 7.4 and I have been receiving some notices within our wordpress debug log:
PHP Notice: Undefined index: metadata in /wp-content/plugins/checkout-com-unified-payments-api/includes/class-wc-gateway-checkout-com-cards.php on line 427
PHP Notice: Undefined index: actions in /wp-content/plugins/checkout-com-unified-payments-api/includes/class-wc-gateway-checkout-com-cards.php on line 428
PHP Deprecated: Non-static method WC_Legacy_Cart::get_checkout_url() should not be called statically in /wp-content/plugins/checkout-com-unified-payments-api/includes/class-wc-gateway-checkout-com-cards.php on line 449
and
Trying to access array offset on value of type bool 1
wp-content/plugins/checkout-com-unified-payments-api/woocommerce-gateway-checkout-com.php:75
Will these be cleaned up anytime soon/does the plugin fully support PHP 7.4?
Thank you
]]>Hello,
Testing the plugin in sandbox and notice a few issues.
1. The phone number entered on the Woocommerce checkout is not being pulled through to show on the order in The Hub.
2. If Google Pay is selected the button loads in a weird location below the Woocommerce place order button, as if it’s trying to override it but not doing so correctly.
3. If the Multiple iFrame style is selected it doesn’t display correctly and looks a mess.
4. Card icons display placement if set to yes should be on a new line starting below the title not next to it as it results in a messy look compared to other checkout methods.
5. When checking out with a test card the website crashes and says wordpress has encountered a critical error, is this normal behaviour simply because it’s a test checkout with test card details?
]]>Good afternoon
I would like to set up recurring payments leveraging checkout.com as payment gateway, how can I do it?
Is there any other required plugin?
Thank you.
]]>