Ivan Louis
Forum Replies Created
-
Hallo dkray
Danke für deine Frage. Die Zahlungsmethode wird zwar auf dem order im field “zahls_payment_method” hinterlegt, jedoch nicht standardmässig angezeigt.
Unten ein Script, das zu funktionieren scheint, für functions.php. (Erstellt von chatGPT)
Grüsse
Ivanadd_filter('manage_edit-shop_order_columns', 'add_zahls_payment_method_column');
function add_zahls_payment_method_column($columns) {
$columns['zahls_payment_method'] = __('Zahls-Zahlungsmethode', 'woocommerce');
return $columns;
}
add_action('manage_shop_order_posts_custom_column', 'show_zahls_payment_method_column_content', 10, 2);
function show_zahls_payment_method_column_content($column, $post_id) {
if ($column === 'zahls_payment_method') {
$payment_method = get_post_meta($post_id, 'zahls_payment_method', true);
echo !empty($payment_method) ? esc_html($payment_method) : '-';
}
}
add_filter('manage_edit-shop_order_sortable_columns', 'make_zahls_payment_method_column_sortable');
function make_zahls_payment_method_column_sortable($columns) {
$columns['zahls_payment_method'] = 'zahls_payment_method';
return $columns;
}
add_action('pre_get_posts', 'sort_orders_by_zahls_payment_method');
function sort_orders_by_zahls_payment_method($query) {
if (!is_admin() || !$query->is_main_query()) {
return;
}
$orderby = $query->get('orderby');
if ($orderby === 'zahls_payment_method') {
$query->set('meta_key', 'zahls_payment_method');
$query->set('orderby', 'meta_value');
}
}OK. It should work like that. Maybe you can contact our support over our website so we can help you there? It seems to be an account specific problem.
The instance is wrong. It has to be written without “.zahls.ch”.
Also, please never publish any of your credentials. We just had to delete this api key. Please create a new one.
Hi
Thank you for your message. I checked your account and can not find any issues there. Maybe you want to double check the entries you made in the configuration in your WooCommerce settings.
Best
Hi
Thank you very much for your message. Are you using the most current version of our plugin and a supported version of PHP? Which version of PHP is installed on your server?Best
IvanHi
The TWINT account is not linked with any email. Please use Payrexx Swiss Collecting in our backend for integrating TWINT.
Best
Hi ckov1
Please change to the “Einsteiger” plan. This is the plan with all functions without cost.
Best
IvanHi ckov1
Thank you for your message. Please follow the instructions given in our plugin description. Did you include the webhook in your zahls.ch account?
Consider writing to our support since this is an individual issue with configuration.
Best
IvanHi
We can announce that the next update will include compatibility with WooCommerce Blocks. We will also integrate High-Performance Order Storage for WooCommerce. The plugin will be released within the next 10 days. If you want to test it before, please drop an email to our support.
Best
IvanHi
Thank you for your messages.
The message “prefix mismatch” for the webhook test means that there is no prefix set for the webhook test, but there is one in your WooCommerce settings. This is no problem and will not impact the functionality of our plugin.
As I can see, you were able to solve the second problem as well, right?
Best
Ivan
Thank you for bringing that to our attention. We will have look and come back to you.
Best, Ivan
Hi blmdo
Thank you for your message.
We just had a look on your settings. I think you choose the wrong type of API (JSON instead of the usual PHP-Post). We changed those settings. Can you test it again?
Best
Ivan LouisYes, the other case had plugins installed which interfered with our plugin. That’s why I ask you to get in touch with [email protected] because it is probably an individual problem in your installation.
Hallo coachrebellis
Es tut mir leid, dass deine Erfahrung mit unserem Support nicht gut ist. Wir haben uns das nochmals angeschaut und können das Problem nicht nachvollziehen. Mittlerweile kommen wir auch bei der Staging-Umgebung nicht mehr rein. Bei den Screenshots sehen wir die aufgerufene URL nicht. Entsprechend ist eine Beurteilung nicht möglich.
Könntest du unserem Support einen aktualisierten Zugang zur Staging-Umgebung zukommen lassen?
Herzliche Grüsse
Ivan LouisHi Valentin
Thank you for your message.
As far as I can see, some other function deactivates the zahls.ch plugin or it is not activated. Can you make sure no other plugin/function is interfering?
Best
Ivan