Advanced Usage
Configuring 3D Payment Based on Country
const [completeCreditCardPayment] = useCompleteCreditCardPaymentMutation();
const response = await completeCreditCardPayment({
...data,
use_three_d: false
}).unwrap();Removing Experimental or Other Options from Next Config
const enhancedConfig = withPzConfig(nextConfig);
// ...
delete enhancedConfig.experimental.serverActions;Customizing Response in Middleware.ts
Last updated
Was this helpful?

