Paypal integration

  • Profile Image
    Asked on February 07, 2018 at 08:09 AM

    I have followed your good articles on multiple payment options, in my case just using Paypal and cash/bank transfer.

    However the amount field in the iframe objects is not being updated and I can't see why.

    Also pressing 'Submit' on the Paypal form does not initiate a Paypal session - am I missing something?



  • Profile Image
    Answered on February 07, 2018 at 10:31 AM

    Is this the form, you are working on

    You did not set up correctly your form. The amount is not updated because it is not the same form. You can not pass the data from one form to another form without submitting the first form. 

    With the current setup of your form, you will be able to collect only data that is entered inside of the payment field. Your users will not be able to submit other data because you main form does not have the submit button. 

    You need to create 3 identical forms, along with the payment field. One form for each payment option. Then you need to embed all three forms inside of the fourth form that will only have a field with payment options. Then based on selected payment option, you can show the correct embedded form. 

    Please check this guide for more details:

    How to Create a Basic Multiple Payment Form