EventBookingHelper::sendEmails trouble

  • Mathalis
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Developper : code, template
More
12 years 4 months ago #36382 by Mathalis
EventBookingHelper::sendEmails trouble was created by Mathalis
Hello,

Version : EventBooking 1.5.4

I'm developping a payment plugin for a french bank.
Requirement for this bank is to use a response file to validate paiement and after return with a return URL.

So i need to send confirmation email. I intégrated it in the response file on case transaction ok.

So my code is the same than used in other payment plugin with some difference to load good helper and so on.
Code:
// Send Email JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_eventbooking'.DS.'tables'); $config = EventBookingHelper::getConfig(); $row = JTable::getInstance('EventBooking', 'Registrant'); fwrite($fp, "\n-------------------------> AVANT LOAD ".$row); $row->load($eventId); EventBookingHelper::sendEmails($row, $config);

I checked running and in helpers, sendEmails function which call getEmailContent.
The code where nothing append and i don't understand what needed are :
Code:
$jcFields = new JCFields($row->event_id, false, 0) ; $view->assignRef('jcFields', $jcFields) ;


Thanks for your help.

Regards

Hugues

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 4 months ago #36450 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: EventBookingHelper::sendEmails trouble
Hi Hugues

Could you please post the payment plugin which you developed here so that I can review the code?

Regards,

Tuan

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

  • Mathalis
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Developper : code, template
More
12 years 4 months ago #36526 by Mathalis
Replied by Mathalis on topic Re: EventBookingHelper::sendEmails trouble
Hi Tuan

Yes i can.
This is the return file needed for bank to validate transaction.
Here we need to complete regirstration information info Eventbooking.
Bank is init to manage return url registered in initial configuration .

So, please contact me by email. I would like to publish it in your market place and know condition.
I consider better to speak about in private than in forum :)
I plan to make some news paiements developpement extensions.

Best regards,

Hugues

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

  • Mathalis
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Developper : code, template
More
12 years 4 months ago #36527 by Mathalis
Replied by Mathalis on topic Re: EventBookingHelper::sendEmails trouble
the file

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

  • Mathalis
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Developper : code, template
More
12 years 4 months ago #36904 by Mathalis
Replied by Mathalis on topic Re: EventBookingHelper::sendEmails trouble
Just a little up ? Do you need more file ?
If yes, give the way to transmit them other than by forum :-)

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

  • Mathalis
  • Topic Author
  • Offline
  • New Member
  • New Member
  • Developper : code, template
More
12 years 3 months ago #37120 by Mathalis
Replied by Mathalis on topic Re: EventBookingHelper::sendEmails trouble
Don't have any news about you ? Did you receive the file ?
Do you need something else ?
Thanks.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 3 months ago #37222 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: EventBookingHelper::sendEmails trouble
Hi

Sorry but the file could not be downloaded for some reasons. Could you please email the file directly to my email tuanpn@joomdonation.com so that I can look at it?

Tuan

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

Moderators: Tuan Pham Ngoc