/component/eventbooking/sumup/individual-registration

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago #160239 by Håkan Lager
Hi,

The above mentioned  page (and also group registration) displays a "Registration Form Message". 

I  use Regular Labs Sourcerer  to generate that message (that works with no problems) ..

My intention here is to generate (and display) a QR code here. No problem so far.   

But...  I need to be able to get hold of  the transactionid/checkoutRef  of the selected event.

Ay idea how to do that?

Regards
Digiloo



 

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #160244 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic /component/eventbooking/sumup/individual-registration
Sorry Digiloo. I don't understand your question (really don't understand exactly what you want with "I need to be able to get hold of the transactionid/checkoutRef of the selected event")

So please explain more details about your questions so that I can understand and give you the answer

Tuan

Please Log in or Create an account to join the conversation.

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago #160245 by Håkan Lager
Sorry to be inexplicit.

The QR code I shall generate shall contain the transactionid/checkoutRef. But I don't know how to access the value from my PHP code (in this context) .

/ Digiloo

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #160246 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic /component/eventbooking/sumup/individual-registration
The Transaction ID will only be completed after registration process completed

So on that registration form page (base on the URL you sent), that data is not available, and could not be used to generate the QRCODE

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago - 1 year 7 months ago #160248 by Håkan Lager
Pity but thank you for answering / Digiloo
Last edit: 1 year 7 months ago by Håkan Lager.

Please Log in or Create an account to join the conversation.

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago #160250 by Håkan Lager
Sorry to disturb you again!

But perhaps the selected event is available?

/ Digiloo

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #160251 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic /component/eventbooking/sumup/individual-registration
Yes. The data is available. But I don't know how/what method you will be using to generate QRCODE from that page ?

Tuan

Please Log in or Create an account to join the conversation.

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago - 1 year 7 months ago #160252 by Håkan Lager
Hi,

As I wrote in my first post:

I use Regular Labs Sourcerer to generate that message (that works with no problems) ..

In fact I already generate a QR cod, but I need to change it to contain some hint about the chosen event.

/ Digiloo
Last edit: 1 year 7 months ago by Håkan Lager.

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #160253 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic /component/eventbooking/sumup/individual-registration
I have no clue how that works with Regular Labs Sourcerer. However, you can get ID of event using the code like this:

$eventId = JFactory::getApplication()->input->getInt('event_id', 0);

That would return ID of the event as you want

Tuan

Please Log in or Create an account to join the conversation.

  • Håkan Lager
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 7 months ago #160254 by Håkan Lager
Thank you very much.

That was exactly the information I needed.

Regards
Digiloo

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc