# Problem with the payment Configuration

**URL:** <https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212>\
**Category:** English forums\
**Tags:** payment, administration\
**Created:** [October 10, 2020, 12:13pm UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212 "2020-10-10T12:13:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohana](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/mohana/32/575_2.png) [@mohana](https://forum.oxid-esales.com/u/mohana)\
**Post date:** [October 10, 2020, 12:13pm UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212/1 "2020-10-10T12:13:40Z")

</div>

Hello all,  
I have using oxid CE 6.2.2 and we have checked the configuration settings available in the module (PayPal and other payment). But, we are unable to save the configuration values.  
If I need any special workout using the composer to save the configuration? If anyone has an idea about this please share the details.

 ![-OXID-eShop-6-Extensions-Modules](https://forum.oxid-esales.com/uploads/default/original/2X/e/e9b94a7d171593049ee5bc341f047324cc387140.png)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [October 10, 2020, 4:54pm UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212/2 "2020-10-10T16:54:25Z")

</div>

check webserver error log for some “permission denied” error. There is a common problem if you run composer as root, in this case the permissions of `var` folder do not allow webserver to save the module configurations anymore.

---

<div class="post-metadata">

**Author:** ![mohana](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/mohana/32/575_2.png) [@mohana](https://forum.oxid-esales.com/u/mohana)\
**Post date:** [October 12, 2020, 6:34am UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212/3 "2020-10-12T06:34:55Z")

</div>

Hi vanilla\_thunder,

Thanks for your quick response. Now it works as expected after giving permission for var directory.

I need some other favor regarding the setting field custom validation. e.g need to validate the invoice due date field for 14days minimum before saving to database **oxconfig**.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [October 12, 2020, 8:58am UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212/4 "2020-10-12T08:58:56Z")

</div>

unfortunately there is no real validation for module configuration params.  
Best you can do is either extending module configuration controller and adding your custom validation or creating a whole new controller for configuring your module.

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [October 12, 2021, 8:58am UTC](https://forum.oxid-esales.com/t/problem-with-the-payment-configuration/97212/5 "2021-10-12T08:58:59Z")

</div>

Closed on October 12, 2021, 8:58am UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
