bfl
Forum Replies Created
-
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Order information fieldsThe plugin currently puts the order number in the Invoice # field and the website name in the Description field.
As far as I’m aware, WooCommerce does not have a concept of an “invoice number”.
You can customize the data sent to Authorize.net using the
woo_mp_authorize_net_charge_requestfilter, like so:/** @param \WC_Order $order */
add_filter( 'woo_mp_authorize_net_charge_request', function ( $request, $order ) {
$request['createTransactionRequest']['transactionRequest']['order']['invoiceNumber'] = 'Put something else here...';
$request['createTransactionRequest']['transactionRequest']['order']['description'] = $order->get_order_number();
return $request;
}, 10, 2 );If you have some plugin that assigns invoice numbers to orders, you can put that where it says “Put something else here…”.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Swipe card on legacy mag stripe readerHey. This sounds like something that might be possible for your developer to do with a bit of JavaScript. Give them the exact format of the reader output and have them write some code to autofill the card fields based on that. You can try reading into Notepad or any other text editor to see exactly what the device is typing and then replace any sensitive numbers with zeros and copy/paste the whole thing.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Missing Data in Stripe Transaction ListHey.
For adding the order number to the description, see this support thread:
https://ww.wp.xz.cn/support/topic/add-order-number-to-the-stripe-description/#post-16600408For the email address, see here:
https://ww.wp.xz.cn/support/topic/zip-post-code-check/#post-18043902The metadata is unstructured (free-form), so the labels don’t have any effect. I originally used those labels because that is what the official Stripe plugin used at the time.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Setup for StripeMinimal permissions would be PaymentIntents Write and Charges Write.
However the error you received is not a permissions error, it means that the key is incorrect. Check to make sure the “Secret Key” setting contains just the correct restricted key.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Setup for StripeGo here to find your secret and publishable keys: https://dashboard.stripe.com/apikeys
Sorry about the outdated instructions. I’m going to work on updating them.
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, 1 month 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.wp.xz.cn/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.