How to make Paypal Payment Field Read Only

  • Profile Image
    Asked on April 05, 2018 at 11:18 AM

    Hi, my form uses Paypal and the form acts as a Payment form having the Total forwarded from another form.  

    The Total needs to be READ ONLY so that the customer cannot change the amount due without changing the selected items in the order form.

    I do not see how to do this. 

    The form functions properly in that the user gets this payment form only after the order form is submitted.  The form also forwards the amount properly.  The ONLY issue is that the customer is able to manually change the amount.  I need it to be Read Only.

    Thank you for your help.  Dave

  • Profile Image
    Answered on April 05, 2018 at 11:55 AM

    You can add a hidden calculation field widget to your form and link the payment amount of the PayPal element to this field using the 'GET PRICE FROM' option on payment settings.

    Then you should be able to calculate any value based on your needs.

    1522943628Screen Shot 2018-04-05 at 18.5

    Thank you for contacting us, If you have further questions, we will be glad to help.