Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Parse Error on Admin Modules page


Recommended Posts

I clicked on my payments module section of my Admin Panel tonight, with the aim of setting up my Authorize.net merchant account. At the very top of the page is the following error:


Parse error: syntax error, unexpected $end, expecting ')' in /home1/charism9/public_html/includes/modules/payment/worldpay_junior.php on line 165


I do not intend to use Worldpay, but believe this error is preventing me from setting up my Authorize.net account because I do not see a way to set up the Authorize payment option (i.e do not see where to input the Gateway ID; MID; TID).


Here is a copy of the code (from line 160 to line 165):


'cc_type' => $order->info['cc_type'],

'cc_owner' => $order->info['cc_owner'],

'cc_number' => $order->info['cc_number'],

'cc_expires' => $order->info['cc_expires'],

'date_purchased' => 'now()',

'orders_status' => $order->info['order_status'],



Please help.

Link to comment
Share on other sites

Ok. since i cannot open my store until I can figure this out, I have a follow up question, and an alternative that will preclude the need for an answer or fix to the above post. Can I simply DELETE the WorldPAy Junior module that is, apparently, causing this error?? I have viewed the code over and again, and cannot locate which bracket, comma, or whatever, is causing this error. Since I simply want to connect with Authorize.net, can I delete the WorldPay PHP file completely from the Payments folder so that the other modules will load correctly on the Admin page? or will deleting the module mess the entire page/folder up?? I simply want to open my store. And I want to use authorize.net. I am already signed up with Authorize.net and am losing potential customers daily because i cannot open my store without the payment gateway set up.


I would appreciate a response. Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...