Merx

GET shop/success

Completes the payment after the provider sends the customer back, and writes the order page.

fetch('/api/shop/success', {
	method: 'GET',
});

Return type

void

Redirects to the order page, or back to the checkout page when the order could not be completed.