bfl
Forum Replies Created
-
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe integration surface error- Can you confirm that the publishable key configured for Backend Payments is the same as the one shown in the Stripe dashboard (https://dashboard.stripe.com/apikeys)?
- Is this issue happening for any of your other clients?
- Do you know more precisely when the issue started? Did anything change with the Stripe account or were any new plugins added to the website or was the website changed in some other way?
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe integration surface errorIs this happening on your own site, or a client’s site?
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe integration surface errorI’ve looked into this some more and I haven’t been able to produce that error without having the “Enable card data collection…” setting disabled. Can you have Stripe confirm from their end that that setting is definitely enabled for your account? It really shouldn’t be possible to get that error from Stripe if the setting is really enabled.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe integration surface errorThat’s strange, I’ll have to look into this further. That error message was resolved by enabling that setting the last time someone asked about it. The only thing I can think of off the top of my head is if you have multiple Stripe accounts to make sure that you’re enabling it for the right one.
https://ww.wp.xz.cn/support/topic/stripes-pre-built-ui-elements/
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe integration surface errorGo to https://dashboard.stripe.com/settings/integration and check “Enable card data collection with a publishable key…”.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Using with WooCommerce SubscriptionsHey @davekeller. This plugin does not support WooCommerce Subscriptions.
Forum: Reviews
In reply to: [Backend Payments for WooCommerce] Simple and effective pluginThank you!
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Not working after 2.8.7 updateI just released 2.8.8 to fix the issue.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Not working after 2.8.7 updateHey @greencode. Sorry about that. I changed the stable version back to 2.8.6 for now. I’m going to work on this. Thanks for informing me.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Prevent Duplicate PaymentsThat snippet does not cover that scenario. It would be more complicated to cover that.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Prevent Duplicate PaymentsYou can use the following snippet:
add_action( 'admin_enqueue_scripts', function ( $hook ) {
if ( $hook === 'woocommerce_page_wc-orders' ) {
?>
<script>
function confirmManualPayment( event ) {
event.preventDefault();
if (
( event.type === 'keypress' && event.keyCode === 13 && event.target?.matches( '#charge *' ) ) ||
( event.type === 'click' && event.target?.id === 'charge-btn' )
) {
if ( jQuery( '#_transaction_id' ).val() ) {
if ( ! confirm( 'There is already a payment on this order. Would you like to proceed?' ) ) {
event.stopPropagation();
}
}
}
}
document.addEventListener( 'keypress', confirmManualPayment, true );
document.addEventListener( 'click', confirmManualPayment, true );
</script>
<?php
}
} );This will only work if the customer paid using a payment method that fills out the WooCommerce Transaction ID field (which you can see when editing Billing fields on the order screen). It determines whether a payment has been made by checking if that field is filled out. If you use other payment methods that don’t use that field, you’ll need to determine whether the order has been paid by some other check. Gateways like Stripe use that field.
Also, this snippet depends on some internal implementation details of WooCommerce and Woo MP, so it may need to be updated if either plugin changes something relevant.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Stripe’s pre-built UI elementsHey @mattcasburn. Yes, this is a new Stripe restriction. At some point I will need to update the plugin to use Stripe Elements, but for now you must enable that setting.
You can uncheck the “Capture Payments” setting and then payments will only be authorized (and the log you mentioned will indeed reflect that). But there is currently no way to capture payments using this plugin, you have to do it from your payment gateway’s dashboard.
I wrote down the idea of having an option to capture or authorize per payment, but I don’t plan on adding any substantial features at the moment.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] Possible inclusion of Moneris?Sorry, I’m not currently adding any new payment gateways.
Forum: Plugins
In reply to: [Backend Payments for WooCommerce] stripe connected accountsSorry, the plugin can’t be used with Stripe Connect.