Huge Performance Improvements, CSS Units and More

Joomla Wesbite Builder Gridbox with Performance Improvements and CSS Units
Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Form Name on Payment Page

6 years 10 months ago #1

  • Syed's Avatar
  • Syed
  • Posts: 119
Hello Team,

I am working on a project where client is trying to take payments for different conferences. We have separate form for each conference with exactly the same set of payment fields.

When we're trying to make the payment it shows all the selected payment fields on the invoice. We would also like to have a custom text or Form name included on the payment invoice in order to identify the conference for which the payment is received.

Is there a way we can have custom text or the name of the form included in the payment invoice (Paypal).

Please help.

Form Link

Best Regards,
Syed H

6 years 10 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 10779
Hello Syed,

Very interesting task. We found some solution at PayPal docs. You can try it
Go to:
/components/com_baforms/models/form.php

after line 484, add this code:
<input name="custom" value="Form ID:<?php echo $data['form_id']; ?>" type="hidden">

In the PayPal admin panel should be visible the Form ID

Let us know results
Thanks,
Artem

6 years 10 months ago #3

  • Syed's Avatar
  • Syed
  • Posts: 119
Artem,

Thank you for a quick response. The form ID will provide a number value whereas we are looking for a text name. The reason why we need this on the invoice is:

1. The customer / buyer who is making the payment will be clear on what conference he is making payment for
2. The receiver will be aware of the payment for a specific conference and will generate the invoice accordingly that will be mailed to the buyer.

Can we pass any other value that we pre-store on the form into the invoice that is shown to the buyer while making purchase (See attached screenshot below) and seller both?



This way we can pass the name of the conference into the invoice.

Please help.

Regards,
Syed H

6 years 10 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 10779
Hello,

Yes, I'm understand what you want to do, but we didn't find any information in the PayPal docs about how to add any info into this field

If you'll find something, let us know, maybe we'll find solution

Thanks,
Artem

6 years 10 months ago #5

  • Syed's Avatar
  • Syed
  • Posts: 119
Artem,

Thank you for your response. For now, we are including the name of the conferences in the registration type options. I will anyhow try to find ways to do that and will update you with my findings.

Regards,
Syed H
Powered by Kunena Forum