bfl
Forum Replies Created
-
Forum: Reviews
In reply to: [Backend Payments for WooCommerce] Works Perfectly – Excellent SupportThank you for the kind words!
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Zip/Post Code CheckYou can use a snippet like the following:
/** @param \WC_Order $order */
add_filter( 'woo_mp_stripe_charge_request', function ( $request, $order ) {
$request['payment_method_data']['billing_details']['name'] = $order->get_formatted_billing_full_name();
$request['payment_method_data']['billing_details']['email'] = $order->get_billing_email();
$request['payment_method_data']['billing_details']['phone'] = $order->get_billing_phone();
$request['payment_method_data']['billing_details']['address']['line1'] = $order->get_billing_address_1();
$request['payment_method_data']['billing_details']['address']['line2'] = $order->get_billing_address_2();
$request['payment_method_data']['billing_details']['address']['city'] = $order->get_billing_city();
$request['payment_method_data']['billing_details']['address']['state'] = $order->get_billing_state();
$request['payment_method_data']['billing_details']['address']['postal_code'] = $order->get_billing_postcode();
$request['payment_method_data']['billing_details']['address']['country'] = $order->get_billing_country();
return $request;
}, 10, 2 );Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Credit Card for Manual PaymentThis plugin can only be used from the WordPress Admin and it can only be used to authorize or charge cards, not save them.
I’ve released an update that patches this issue.
- This reply was modified 2 years ago by bfl.
@kylelarkin, thank you for confirming that. I’ll include this change in the next version of the plugin.
@bobconan: Would you be able to try out the patched version?
It should be possible, but I think it would require quite a bit of backend and frontend work.
It might make more sense to build it as a separate plugin, rather than extending Woo MP.
@tharmann: Have you had a chance to try out the patched version yet?
I can’t figure out why this is happening, but I think I can fix it anyway.
Try the development version I just uploaded (trunk):
https://downloads.wordpress.org/plugin/woo-mp.zip
That’s a direct download link.
Let me know if that fixes the issue for you without disabling the settings page.
Sorry, the plugin doesn’t support saved payment methods.
Interesting. This might be an issue with WP Engine. I notice both of you are using it.
Here are some people talking about something that looks like the same issue:
https://forum.bricksbuilder.io/t/wait-wp-list-table-error-on-wpengine/21201
Can either of you post the exact code on line 121 of wp-includes/plugin.php on your server? I’m wondering if there’s some sort of modification to that file, because that line should not be triggering the autoloader.
@tharmann: When you get a chance, send me the Site Health info. I want to see if there’s anything else in common between your site and bobconan’s.
I’m not able to reproduce the issue on my test site. I’m going to look into this. Can you please send your Site Health info (“Copy site info to clipboard”) to bfl.wordpress.org@gmail.com?
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Compatibilty with square payment methodHey. Sorry, I don’t plan on adding Square.