Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

29.07.2026 10:06
#1
pl1
Joomshopping forum user no avatar
Name: Tykhonov Maksym
10.02.2026
Posts: 4
Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

Hello,

We are using Stripe Checkout 1.3.3 with:

Joomla 5.4.7
JoomShopping 5.9.2
PHP 8.3.32

Stripe successfully completes the payment and sends the
checkout.session.completed webhook to the correct endpoint:

https://nvecexpert.com/index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_stripe_checkout&no_lang=1

However, the endpoint always returns HTTP 400 and the order is not finalized in JoomShopping.

The Stripe error is:

SignatureVerificationException:
No signatures found matching the expected signature for payload

We checked the following:

- The webhook URL is correct.
- The Stripe-Signature header is present.
- php://input contains the complete valid Stripe JSON payload.
- The webhook signing secret in Joomla matches the signing secret in Stripe.
- The endpoint_secret value is correctly stored in the database in payment_params.
- mbstring.encoding_translation is disabled.

We added debug logging in checkTransaction().

The code contains:

$endpoint_secret = $pmconfigs['endpoint_secret'];

But during the webhook request the log shows:

endpoint_secret=[]

and:

endpoint_secret_length=0
signature_present=yes
payload_length=4239

So the endpoint_secret exists in the database, but it is empty in $pmconfigs during the webhook request.

As a result, Stripe\Webhook::constructEvent() always throws SignatureVerificationException.

Could you please check how the plugin loads payment parameters for act=notify requests and provide a fix?

Thank you.
Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing


Joomla: 5.4.7
JoomShopping: 5.9.2
PHP: 8.3.32
MySQL: 10.11.18-MariaDB
Website Url: nvecexpert.com
 
29.07.2026 12:27
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28533
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

needs to be checked.
~row 53 add:
Helper::saveToLog("test.log", print_r($pmconfigs, 1));

function checkTransaction($pmconfigs, $order, $act) {
.....
Helper::saveToLog("paymentdata.log", 'Stripe checkout : order id: '.$order->order_id." sig_header: ".$sig_header." payload: ".$payload);

Helper::saveToLog("test.log", print_r($pmconfigs, 1));

look at the test.log

 
29.07.2026 13:28
#3
pl1
Joomshopping forum user no avatar
Name: Tykhonov Maksym
10.02.2026
Posts: 4
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

I added the requested debug line and resent the checkout.session.completed event.

The test.log contains:

2026-07-29 14:26:17 Array
(
)

So $pmconfigs is completely empty during the webhook request.
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

 
29.07.2026 14:41
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28533
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

Admin / Options / Payment list

There is only one payment method:
pm_stripe_checkout

(script name: pm_stripe_checkout) ?


-----------------------------------------------------
or send me admin access / ftp
(privat msg.)


Last change: 29.07.2026 14:41
 
30.07.2026 10:00
#5
pl1
Joomshopping forum user no avatar
Name: Tykhonov Maksym
10.02.2026
Posts: 4
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

There are two payment methods using the same script:

ID 6 - "Online payment" - Published
Script name: pm_stripe_checkout

ID 8 - "test" - Unpublished
Script name: pm_stripe_checkout

Only the first one is active and available to customers.
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

 
30.07.2026 15:45
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28533
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

Yes. Problem in your payments "alias".

index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_stripe_checkout

js_paymentclass=pm_stripe_checkout => alias: pm_stripe_checkout
= ID 8 - "test"

1. Delete payment with id 8
2.set alias: pm_stripe_checkout for id: 6


Last change: 30.07.2026 15:46
 
31.07.2026 10:29
#7
pl1
Joomshopping forum user no avatar
Name: Tykhonov Maksym
10.02.2026
Posts: 4
Aw: Stripe Checkout 1.3.3: endpoint_secret is empty during webhook processing

Everything worked, thank you!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.