• Resolved thebarkacademy

    (@thebarkacademy)


    Hi,
    I would like to be able to pre-populate my payment form with details from another plugin (OpenPos). While editing my form fields I see this option:

    Pre-populate
    You can pre-populate this field dynamically using the query parameter passed in your form URL. Enter the query parameter key to fetch its value from your form URL below.
    Query parameter (optional)
    E.g. query_parameter_key

    I am not very apt at coding. So, please forgive my ignorance, but I have no idea what a query_parameter_key is. Will this method help me pre-populate from another plugin?

    Also, is it possible to pre-populate the billing fields included in the added PayPal field?

    I am using this payment form with my POS plugin and I would like to add a field where the PayPal Payment ID or Transaction ID can be displayed instantly after payment submission. (I need to enter the number into a POS field before closing the sale) My customers do not have access to this form.

    Thanks for any suggestions in advance ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @thebarkacademy

    I trust you are doing well!

    I would like to be able to pre-populate my payment form with details from another plugin (OpenPos).

    Out od the box, I’m afraid this is not possible, as it will require integration with the OpenPos plugin.

    So, please forgive my ignorance, but I have no idea what a query_parameter_key is.

    The query parameter is a part of the URL where the form is located. So if for example, the URL is:
    domain.com/contact-form/?name=UserName
    The name is a query parameter that equals to UserName. So if the fields have the name added as a query parameter, the field will be prepopulated with UserName.

    Also, is it possible to pre-populate the billing fields included in the added PayPal field?

    Our developers will need to have a closer look at the plugin that you are using, to provide some feedback if it is possible. Please let me know, is this the OpenPos plugin that you are using?

    Please advise,

    Kind regards,
    Nastia

    Thread Starter thebarkacademy

    (@thebarkacademy)

    Hi Nastia,

    Thank you so much for responding. Yes, OpenPos is the plugin I am using.

    Thanks for explaining the query parameter to me. I want to make sure I understand.

    The query parameter is a part of the URL where the form is located. So if for example, the URL is:
    domain.com/contact-form/?name=UserName

    The “contact-form” is a Forminator form? Or, can it be any form? The “name” will be the current logged in user, correct?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @thebarkacademy

    I hope you are doing well!

    The “contact-form” is a Forminator form? Or, can it be any form? The “name” will be the current logged in user, correct?

    In this example, the “contact-form” is the name of a page, where the form is located; the “name” parameter, in this case, could be user name or username.

    Regarding your initial questions our developer cam back with the following feedback:

    Passing payment amount via query parameters is not the best way as anybody can change the query params value and get away with paying less. Integration with the plugin is the best way. However, if you are the only person using the form and wish to automate it, and if the Openpos plugin allows passing the amount as a query parameter, then it would be possible to auto-populate the amount in Forminator form as well.

    Please note, since it is better to integrate the Forminator with the OpenPos, this will require a lot of custom coding. If you are not familiar with PHP, please check WP Jobs section for additional help from developers:
    https://jobs.wordpress.net/

    For more information please refer to the Forminator API documentation.

    I am using this payment form with my POS plugin and I would like to add a field where the PayPal Payment ID or Transaction ID can be displayed instantly after payment submission.

    Please try using the {transaction_id} merged tag in the success message to show the transaction ID after payment submission.

    Hope this helps!

    Cheers,
    Nastia

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @thebarkacademy

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal Form Fields’ is closed to new replies.