At this time the ability to remove the coupon field from checkouts isn’t currently available. ![]()
Thanks for your replay i solved it.
Hi, how were you able to fix this please? Thanks for your input!!
Hi everyone. It’s been over an year. Is there a way now? thank you
With the Checkout API checkout_options you can set enable_coupon to false. ![]()
I use the following in PHP, the url is respected, but the checkout page is still showing the coupon option.
'checkoutOptions' => new CheckoutOptions([
'redirectUrl' => 'https://..../paymentsuccess.php',
'apple_pay' => true,
'google_pay' => true,
'enable_coupon' => false
])
Am I setting it correctly? I am using the latest version of the PHP SDK, downloaded via composer.
