#The option to add discount doesnt show on the payment page

1 messages · Page 1 of 1 (latest)

mellow cradle
#

I am trying to offer discount. I have created discount codes but the payment page doesnt show the input for disocunt. How to fix this?

gaunt valleyBOT
# mellow cradle I am trying to offer discount. I have created discount codes but the payment pag...

To resolve the issue of the discount code input not appearing on the payment page, you can follow these steps:

  1. Verify Discount Code Configuration:

    • Ensure that the discount codes are correctly configured in your Dodo Payments dashboard. Double-check that the discount codes are active and have not expired.
  2. Check Payment Page Settings:

    • Review the settings of your payment page to ensure that it is configured to accept discount codes. There might be an option to enable or disable the discount code input field.
  3. Update Payment Page Integration:

    • If you have customized the payment page, ensure that the integration includes the necessary code to display the discount code input field. This might involve updating the front-end code to include a form field for entering discount codes.
  4. Test with Different Browsers:

    • Sometimes, browser-specific issues can cause elements not to display correctly. Test the payment page on different browsers to see if the issue persists.
  5. Consult Documentation:

    • Refer to the Dodo Payments documentation for any specific instructions on integrating discount codes into the payment page. There might be additional steps or configurations required.
  6. Contact Support:

    • If the issue persists after trying the above steps, consider reaching out to Dodo Payments support for further assistance. They can provide more specific guidance based on your setup.

By following these steps, you should be able to troubleshoot and resolve the issue with the discount code input not appearing on the payment page.

gaunt valleyBOT
uncut fractal
#

This page is after you have added the discount code.

#

Are you using the api integration or static links?

mellow cradle
#

I am using API integration. I have created the discount code already.

uncut fractal
mellow cradle
#

Well, I want the user to input the discount code. Some users might have code, some might not.

uncut fractal
#

Yes you can ask the user to input the discount code before initiating the payment. The same way you are collecting the billing address

#

We are also coming up with a new type of checkout where some details are provided through api and remaining collected from customers. Will this be better for ur use case?

mellow cradle
#

Yes, ideal would be this -

I can create customer with basic info - name, email and maybe pass a flag to collect rest of address etc (similar to your static links) via Dodo's payment UI. And also thats where you can add discount code too.

Basically as a dev, I want all payment related info to be handled by Dodo. I dont want to ask for address or discount code from user before I send them to payment gateway. All of this should ideally be handled by payment processor.

uncut fractal
#

Got it, we are already working on this but it will take time. Currently only the above mentioned 2 options are available