Skip to content

Commit b8752bf

Browse files
committed
wip
1 parent 47fcd2f commit b8752bf

File tree

3 files changed

+245
-181
lines changed

3 files changed

+245
-181
lines changed

src/Payments/Gateways/PaymentGateway.php

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ public function checkoutUrl(): string
5252

5353
public function webhookUrl(): string
5454
{
55+
if (app()->runningUnitTests()) {
56+
return '';
57+
}
58+
5559
return route('statamic.simple-commerce.payments.webhook', $this->handle());
5660
}
5761
}

0 commit comments

Comments
 (0)