Jump to content
Sign in to follow this  

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.

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

:rolleyes: I figured it out myself. There was a closing bracket missing. Thank you guys for reading the post. until next time.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this