Updated checkout to wait for backend confirmation before advancing, added a “Processing payment…” state with retry/ refresh fallback, and now use Paddle totals/currency for purchase records + confirmation emails (with new email translations).
This commit is contained in:
@@ -366,6 +366,10 @@ Route::post('/checkout/track-abandoned', [CheckoutController::class, 'trackAband
|
||||
Route::post('/set-locale', [LocaleController::class, 'set'])->name('set-locale');
|
||||
|
||||
Route::middleware('auth')->group(function () {
|
||||
Route::post('/checkout/free-activate', [CheckoutController::class, 'activateFree'])->name('checkout.free-activate');
|
||||
Route::get('/checkout/session/{session}/status', [CheckoutController::class, 'sessionStatus'])
|
||||
->whereUuid('session')
|
||||
->name('checkout.session.status');
|
||||
Route::post('/paddle/create-checkout', [PaddleCheckoutController::class, 'create'])->name('paddle.checkout.create');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user