Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Amending Paypal Options

Amending Paypal Options

Locked

Views: 701

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Mar 2010, 8:54 PM
#1
bravo14 avatar

bravo14

New Zenner

Join Date:
Oct 2009
Posts:
24
Plugin Contributions:
0

Amending Paypal Options

Hi

I am trying to edit the paypal settings on a site, but when I click edit I get the following message.

1064 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 '[email protected]'', 'Primary email address for your PayPal account.<' at line 1
in:
[insert into zenconfiguration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Business ID', 'MODULE_PAYMENT_PAYPAL_BUSINESS_ID',''[email protected]'', 'Primary email address for your PayPal account.
NOTE: This must match EXACTLY the primary email address on your PayPal account settings. It IS case-sensitive, so please check your PayPal profile preferences at paypal.com and be sure to enter the EXACT same primary email address here.', '6', '2', now())]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields

How can I edit the details?

Thanks in advance

31 Mar 2010, 8:59 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Amending Paypal Options

It looks like for some unknown reason you're inserting single-quote marks around the email address you're entering?

31 Mar 2010, 9:12 PM
#3
bravo14 avatar

bravo14

New Zenner

Join Date:
Oct 2009
Posts:
24
Plugin Contributions:
0

Re: Amending Paypal Options

Hi

I can't enter any information, I select Paypal Standard, then click on edit and the message above is displayed. How can I change the paypal details?

31 Mar 2010, 9:44 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Amending Paypal Options

But ... an "insert" statement only occurs when you click "Install" or when you click "Save" after editing.

31 Mar 2010, 9:45 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Amending Paypal Options

While I can't see how any bad data in the database can cause problems in trying to open the settings in edit mode,
try this to get rid of the bad settings in the database:

  1. Click on the PayPal module you want to change settings for.
  2. View all the existing settings in the right-hand sidebar. Record them all.
  3. Click "Remove" to remove the settings.
  4. Click "Install" and then re-enter the desired settings. Click Save.