• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Avoid payment for free product

Avoid payment for free product 10 years 5 months ago #29466

Hi to everybody!
This question have been done before in other post but without answer. I´m trying to solve it now.
I´ve got a free product and I want to avoid the client going to paypal in this case. I can hide the payment buttons with the conditional fields, but unfortunately this doesn´t avoid the payment.

I´m trying to do it with a script in the head of "html layout" of the form:

<script type="text/javascript">
function calcular()
{
if(document.getElementById('productypes').value == 'freeproduct')
{document.getElementById('payment-type').value = 'offline';
}
}
</script>


In addition I hide all the payment related buttons with condtional fields and no {offline} information added to the email.
But something is wrong. Paypal continues.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!