moe226
Forum Replies Created
-
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Change BCC emailHi sorry late reply but basically sending BCC to the same email address as the “From” or the “reply to”
- This reply was modified 3 months, 1 week ago by moe226.
Thank you for the response. I noticed a feature in the following stripe docs that does exactly what i need: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#capture-payment-before-authorization-expires
“To enable automatic delayed capture, set capture_method as
automatic_delayedon the PaymentIntent
With this approach, Stripe captures your card payment before the authorization expires, triggering the capture about 6 hours before the expiry time. This serves as a backup process to ensure we capture authorized payments before expiration. You can still manually capture or cancel the PaymentIntent before it’s automatically captured.”i tried implementing it using this code and some live tests but couldn’t get it to work, it just capture payments immediately.
add_filter('wc_stripe_payment_intent_args', function($args, $order, $gateway){
// Identify gateway id
$id = '';
if (is_object($gateway)) {
if (property_exists($gateway, 'id')) {
$id = $gateway->id;
} elseif (method_exists($gateway, 'get_id')) {
$id = $gateway->get_id();
}
}
// Affect card-based flows only
if (!in_array($id, ['stripe_cc','payment_request','stripe_link'], true)) {
return $args;
}
// Ensure top-level capture isn't manual
$args['capture_method'] = 'automatic';
// Prepare nested structure
if (!isset($args['payment_method_options']) || !is_array($args['payment_method_options'])) {
$args['payment_method_options'] = [];
}
if (!isset($args['payment_method_options']['card']) || !is_array($args['payment_method_options']['card'])) {
$args['payment_method_options']['card'] = [];
}
// Enable automatic delayed capture for cards, with a 5-day delay
$args['payment_method_options']['card']['capture_method'] = 'automatic_delayed';
$args['payment_method_options']['card']['capture_delay_days'] = 5;
return $args;
}, 99, 3);Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] Issue with link checkoutThank you, I crossed checked that transaction id format with other orders and can confirm that transaction ID format is for Sezzle(buy now pay later). The customer said that he attempted to pay with Sezzle at first but got declined so he went back to checkout and he then paid with link. (those payment attempts in WooCommerce dashboard (screenshot) i manually set his order to processing so his confirmation email can be sent)
https://ibb.co/4wsJrc3f
https://ibb.co/MDFcNp61I use litespeed cache and quic.cloud, I was under the impression that litespeed automatically excludes cart and checkout but i specifically excluded them now just to be sure.
Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] Issue with link checkouthttps://v7motorsports.com/products/q50-carbon-fiber-mirror-caps/
Another thing to note is that when clicking on transaction id from WooCommerce order page, it redirects to the stripe dashboard (screenshot below) that says:
“
Transaction not found
The requested transaction does not exist:
6853c0502-1851
. “
The actual payment behind this order exists separately on stripe dashboard’s end under a different transaction id.
Hi, I’m also using Edge Version 124.0.2478.80. However I suspect that this is a hardware issue as I’ve just tested it on another desktop device and was not able to recreate it.
Besides that, I greatly appreciate your effort and time. We can mark this this as resolved,
Warmest regards,
already tested with all plugins disabled and even with theme set to default “twenty twentyfour”
Furthermore here’s a link to the same page above but on our staging site with the following conditions:
- only 2 plugins enabled: ‘WooCommerce’ and ‘Payment Plugins for Stripe WooCommerce’
- theme switched to default ‘twenty twentyfour'(our normal theme is ‘woodmart’)
https://staging.v7motorsports.com/products/q50-carbon-fiber-fenders/
Thank you for the prompt reply. I just wanted to note that the whole browser freezes up as in the browser buttons(tabs, minimize, close) become briefly unresponsive. Here’s one of our product pages, but issue also persists on cart and checkout
(only on Edge Brower)
https://v7motorsports.com/products/q50-carbon-fiber-fenders/