Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Tithira's avatar

Cashier Paddle Simple Charge encountered an error

I am using Paddle Sandbox and i have a single charge for my product. For testing purposes i have created one product in Paddle environment. When generating a paylink i am using

$user->charge(12.99, 'Product name');

to generate the link.

I am using the checkout button inside a livewire form and simple charge encounters an error when button clicked to checkout

The error: Something went wrong

However when i use the chargeProduct method , this checkout appears and works fine, but not for the simple charge method.

The url is passed to the blade file and i have configured the env variables, not overriden the default behavour.

What might be the issue ? Any help would be greatly appreaciated.

0 likes
0 replies

Please or to participate in this conversation.