Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Payment plugin ?

Payment plugin ? 7 years 10 months ago #26030

  • syscoanpsr
  • syscoanpsr's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi

I've created a plugin but when receiving bank response my code doesn't update ID of the transaction

$this->transactionId is correctly filled but DT_Session::set() doesn't seem to work.
	   $process = DT_Session::get('Setting.process');
	   DT_Session::set($process.'.payment.transactionId', $this->transactionId);

Where is defined DT_Session::set() ?
How could I solve it ?

Regards
DTRegistrer 3.1.7

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

Last Edit: by syscoanpsr.

Payment plugin ? 7 years 10 months ago #26034

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Make sure you have the latest DT Register build in place AND the latest Joomla as there were session changes made by Joomla that had to be implemented in DT Register. If after updating everything you still have a problem, you'd have to pay for customization hours to get assistance with your own custom plugin.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Payment plugin ? 7 years 10 months ago #26037

  • syscoanpsr
  • syscoanpsr's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Thanks Nathan

I've upgraded to J!3.5.1 + DTR3.1.8

Now success.php catch an error 500 :(

PHP5.6 / DTR3.1.8 / J!3.5.1 / SIPS ATOS

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

Payment plugin ? 7 years 10 months ago #26038

  • syscoanpsr
  • syscoanpsr's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
With DEBUG I have

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 34 

SQL=select g.id as group_id , g.member as group_member , g.type as group_type , 
g.amount as group_amount , epc.prerequisite_id as prerequisitecategory_prerequisite_id, ep.prerequisite_id as prerequisite_prerequisite_id , 
f.id as file_id , f.path as file_path , f.event_id as file_event_id, fo.id as feeorder_id , 
fo.eventId as feeorder_eventId , fo.type as feeorder_type ,fo.reference_id as feeorder_reference_id , 
fo.title as feeorder_title , fo.ordering as feeorder_ordering , l.id as location_id , l.name as location_name , 
l.address as location_address , l.address2 as location_address2 , l.city as location_city , l.state as location_state , 
l.zip as location_zip , l.country as location_country , l.phone as location_phone , l.email as location_email , 
l.website as location_website , l.image as location_image , l.showimage as location_showimage 
from j35_dtregister_group_event e 
left join j35_dtregister_event_detail g on e.slabId = g.slabId 
left join j35_dtregister_prerequisite_category epc on epc.event_id = e.slabId 
left join j35_dtregister_prerequisite ep on ep.event_id = e.slabId 
left join j35_dtregister_files f on f.event_id = e.slabId 
left join j35_dtregister_feeorder fo on fo.eventId = e.slabId 
left join j35_dtregister_locations l on l.id = e.location_id 
where e.slabId =

Call stack
#	Function	Location
1	JApplicationCms->execute()	/home/stagerec/www/copie-points/index.php:49
2	JApplicationSite->doExecute()	/home/stagerec/www/copie-points/libraries/cms/application/cms.php:257
3	JApplicationSite->dispatch()	/home/stagerec/www/copie-points/libraries/cms/application/site.php:230
4	JComponentHelper::renderComponent()	/home/stagerec/www/copie-points/libraries/cms/application/site.php:191
5	JComponentHelper::executeComponent()	/home/stagerec/www/copie-points/libraries/cms/component/helper.php:380
6	require_once()	/home/stagerec/www/copie-points/libraries/cms/component/helper.php:405
7	JControllerLegacy->execute()	/home/stagerec/www/copie-points/components/com_dtregister/dtregister.php:127
8	DtregisterControllerPayment->form()	/home/stagerec/www/copie-points/libraries/legacy/controller/legacy.php:728
9	include()	/home/stagerec/www/copie-points/components/com_dtregister/controllers/payment.php:430
10	TableEvent->load()	/home/stagerec/www/copie-points/components/com_dtregister/views/user/tmpl/event_header.php:15
11	DtrTable->query()	/home/stagerec/www/copie-points/administrator/components/com_dtregister/models/event.php:807
12	JDatabaseDriver->loadObjectList()	/home/stagerec/www/copie-points/administrator/components/com_dtregister/lib/dttable.php:102
13	JDatabaseDriverMysql->execute()	/home/stagerec/www/copie-points/libraries/joomla/database/driver.php:1692

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

Payment plugin ? 7 years 10 months ago #26044

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Version 3.1.8 ended up having an issue with payments. We've updated to 3.1.8a. Download and update to that. If you still have an issue, it'll be due to your own custom plugin and will require paid assistance.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Payment plugin ? 7 years 10 months ago #26054

  • syscoanpsr
  • syscoanpsr's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi Nathan,

- J!3.5.1 / DTR3.1.8a installed
- Same error SQL at the success.php url from the bank

Could you connect to my website to have a look ?
Records are not saved yet Since 3.1.8.

(lastest record is the 2016-05-31 21:54:30 -- from DTR3.1.7)

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

  • Page:
  • 1
Time to create page: 0.098 seconds