Post by chrisgwynne » Thu Oct 05, 2017 6:09 pm

Getting this error....

Code: Select all

[05-Oct-2017 10:00:44 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Duplicate entry '0' for key 'PRIMARY'<br />Error No: 1062<br />INSERT INTO `oc_paypal_payflow_iframe_order` SET `order_id` = '0', `secure_token_id` = '38dd88950dae1f42f1b64145b3831061'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/library/db.php(16): DB\MySQLi->query('INSERT INTO `oc...', Array)
#1 /home/xxx/public_html/catalog/model/extension/payment/pp_payflow_iframe.php(45): DB->query('INSERT INTO `oc...')
#2 [internal function]: ModelExtensionPaymentPPPayflowIframe->addOrder(NULL, '38dd88950dae1f4...')
#3 /home/xxx/public_html/system/storage/modification/system/engine/loader.php(189): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /home/xxx/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 /home/xxx/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php(27) in /home/xxx/public_html/system/library/db/mysqli.php on line 40
[05-Oct-2017 10:00:47 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Duplicate entry '0' for key 'PRIMARY'<br />Error No: 1062<br />INSERT INTO `oc_paypal_payflow_iframe_order` SET `order_id` = '0', `secure_token_id` = '19844d1a1d3d34555e77372f1d62939e'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/library/db.php(16): DB\MySQLi->query('INSERT INTO `oc...', Array)
#1 /home/xxx/public_html/catalog/model/extension/payment/pp_payflow_iframe.php(45): DB->query('INSERT INTO `oc...')
#2 [internal function]: ModelExtensionPaymentPPPayflowIframe->addOrder(NULL, '19844d1a1d3d345...')
#3 /home/xxx/public_html/system/storage/modification/system/engine/loader.php(189): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /home/xxx/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 /home/xxx/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php(27) in /home/xxx/public_html/system/library/db/mysqli.php on line 40
[05-Oct-2017 10:00:47 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Duplicate entry '0' for key 'PRIMARY'<br />Error No: 1062<br />INSERT INTO `oc_paypal_payflow_iframe_order` SET `order_id` = '0', `secure_token_id` = 'f7df2c31a1e7fbf900f82f03875f9718'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/library/db.php(16): DB\MySQLi->query('INSERT INTO `oc...', Array)
#1 /home/xxx/public_html/catalog/model/extension/payment/pp_payflow_iframe.php(45): DB->query('INSERT INTO `oc...')
#2 [internal function]: ModelExtensionPaymentPPPayflowIframe->addOrder(NULL, 'f7df2c31a1e7fbf...')
#3 /home/xxx/public_html/system/storage/modification/system/engine/loader.php(189): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /home/xxx/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 /home/xxx/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php(27) in /home/xxx/public_html/system/library/db/mysqli.php on line 40
[05-Oct-2017 10:01:04 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Duplicate entry '0' for key 'PRIMARY'<br />Error No: 1062<br />INSERT INTO `oc_paypal_payflow_iframe_order` SET `order_id` = '0', `secure_token_id` = '7ec67c0fcd3f8e8f5bc7f8dae406e0d8'' in /home/xxx/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/xxx/public_html/system/library/db.php(16): DB\MySQLi->query('INSERT INTO `oc...', Array)
#1 /home/xxx/public_html/catalog/model/extension/payment/pp_payflow_iframe.php(45): DB->query('INSERT INTO `oc...')
#2 [internal function]: ModelExtensionPaymentPPPayflowIframe->addOrder(NULL, '7ec67c0fcd3f8e8...')
#3 /home/xxx/public_html/system/storage/modification/system/engine/loader.php(189): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /home/xxx/public_html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array)
#6 /home/xxx/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php(27) in /home/xxx/public_html/system/library/db/mysqli.php on line 40


New member

Posts

Joined
Fri Nov 11, 2016 7:33 am

Post by yodapt » Thu Oct 05, 2017 11:10 pm

There is a problem with your orders, the ID is zero when it shouldnt.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member
Online

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by chrisgwynne » Fri Oct 06, 2017 12:57 am

Order Ids are fine... they work. Not with this payment method...

New member

Posts

Joined
Fri Nov 11, 2016 7:33 am
Who is online

Users browsing this forum: No registered users and 2 guests