Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to Decrypt Certificate ID


Guest

Recommended Posts

Let me lay out the details of the story for you as succinctly as possible:

 

1) My SSL certificate expired in October. After much ado about nothing, I finally got it updated and working again.

2) My last successful PayPal order was in November. Went through without a hitch.

3) Time goes by.... nothing is modified with my site, PayPal, or the database.

4) Tonight I get an email from an upset customer wanting to know why PayPal is giving her an error.

5) I change the details of the PayPal IPN installation to the sandbox/testing configuration and give it a whirl.

6) PayPal says: "We were unable to decrypt the certificate ID."

7) 1 hour on the phone with PayPal = waste of time.

8) I discover register_globals had been turned off by my host, so I get them to turn it back on.

9) More time goes by.

10) STILL GETTING THE SAME ERROR!

 

Between November and today I made lots of changes to products, etc., but I have not added any installations or changed any code. I can see why PayPal wouldn't allow me to continue using the expired certificate, but why should I get the same error with the updated certificate?

 

It's baffling, really.

 

Any ideas, anyone????

Link to comment
Share on other sites

  • 1 month later...

I would also love to know the answer to this question. Ive just set up my shop and paypal standard. I went to test the checkout and got the same error message. My host provides a ssl certificate apparently but Im new to all of this so not too sure where im going wrong. Any suggestions would be appreciated :blink:

Link to comment
Share on other sites

assuming Your site is not using paypal pro but Paypal IPN.

 

unchek the last 4 boxes that are related to encryption and certificate.

Also in Your Paypal profile setting set accept unencrypted payment and chek.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 2 years later...

Few years down the line...........

 

Im getting this error now too: We were unable to decrypt the certificate id

 

I want customers to be able to add to cart multiple items or at least be able

to buy multiple items and paypal have come back to me with this support,

can anyone help me, its took me ages to get my site to https but now it is i have that

error as you click the "confirm order" button.

(p.s now its https i can see any files via ftp or host admin to edit them lol.

i cant even login to my escommerce admin to edit files/products. wtf.?) so any help

on that matter is appreciated, how ever i have emailed my host so they will prob

sort it for me, but how strange eyh :(

 

PAYPAL SUPPORT SAY:

===================================================================================

Log into your PayPal account.

Click on the Merchant Services Tab

Select the button type you are going to create

Enter some generic information to customize the button

Click Step 2 and uncheck the "Save button at PayPal"

Click "Create Button."

Click "Remove code protection"

Click "Select Code" to select the button code.

Copy and paste the button code into your own web page code in place of the original button.

===================================================================================

 

Other option is:

 

===================================

Start Accepting Payments:

 

Add PayPal buttons to your website

 

* Sell single items

* Sell multiple items

* Sell subscriptions

* Sell gift vouchers

* Accept donations

 

* How to use the button factory

* Beginners' guide to HTML

 

OR I CAN CHOOSE:

 

API Solutions:

 

solutions

 

Technical skills required

 

* Express Checkout

* Website Payments Pro (UK)

* Recurring Billing

* Mobile Checkout

* Mass Payment

==================================

 

Now i thought i was using this API system thingy, but if im right then i think

im to create a button from the "Add PayPal buttons to your website" section

then copy the generated code and place it in a file.? hmmm which file and where

do i place it.? what do i remove. its ok them taking coding talk but not to me lol.

 

Now i really am new to coding, infact im not new. i havnt even a clue lol.

i cant follow their instructions atm as i cant access any file as said but i dont

know what file/s to edit or where to edit when in the files.

 

Anyone help me please.?

 

Thanking you as always :)

 

Carl.

Link to comment
Share on other sites

Carl,

 

Adding an SSL to osCommerce is simple, one edit in the configure.php and its enabled. As for the certificate issue, have you downloaded the PEM file and placed it in the proper directory ? Have you placed your store ID and password that PayPal provided in the proper Payment Module ?

 

 

 

Chris

Link to comment
Share on other sites

Cheers chris...

 

Can you maybe walk me through what i edit or check in the configure.php file and

also the payment module.? hmmmm tbh now i think about it im sure ive only added the

module in oscomerce admin payment section then filled in the bits i.e my paypal

email addy, but i dont think it asked for my password though.? also hope ive put

the right paths to the certs correct.!!

 

------------------------------------------------------------------------------------

 

Also about my cert's... i have 3 .pems and 1 that is a txt file that paypal sent me.

 

there called:

 

cert_key_pem (txt file from paypal, i try to rename it to .pem but stays as a txt)

my-pubcert.pem (i created & i think sent this 1 to paypal)

paypal_cert.pem (downloaded from paypal)

solveituk-prvkey.pem (i created)

 

I created the 2 pem files with openssl is it.? had to install visual something lol.

then i had to send 1 to paypal where they generated 1 of the certs with it, i just

downloaded the other from them.

 

i installed oscomerce to public_html/oscommerce

certs are in admin folder i think unless i moved them but the path to them

i put in when setting up the details for the "paypal website standard" was exactly:

/oscommerce/admin

 

Is that ok and correct.?

 

Atm since my sites https started working i cannot access anything, no files ect, ftp shows

nothing and neither does host side, they all seem to be hidden so i cant modify these

files yet BUT i have my whole site backup at hand with all up to date files so i can

check and change them then upload and overwrite once i have access to them again.

 

cheers chris.

Carl.

Link to comment
Share on other sites

Just looking through paypal_standard. anything to do with this section.???

I can almost be possitive i havnt personally opened and put anything in the

payments module.

i thought filling in the details in os admin would auto do that.

Have i got to maybe fill in the parts ive highlighted in bold.?

 

=============================================================

())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('Your Private Key', 'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PRIVATE_KEY', '', 'The

location of your Private Key to use for signing the

data. (*.pem)', '6', '4', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('Your Public Certificate',

'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PUBLIC_KEY', '', 'The

location of your Public Certificate to use for signing the

data. (*.pem)', '6', '4', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('PayPals Public Certificate',

'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PAYPAL_KEY', '', 'The

location of the PayPal Public Certificate for encrypting the

data.', '6', '4', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('Your PayPal Public Certificate ID', 'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_CERT_ID', '', 'The

Certificate ID to use from your PayPal Encrypted Payment

Settings Profile.', '6', '4', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('Working Directory',

'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY', '',

'The working directory to use for temporary files. (trailing

slash needed)', '6', '4', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . "

(configuration_title, configuration_key, configuration_value,

configuration_description, configuration_group_id, sort_order,

date_added) values ('OpenSSL Location',

'MODULE_PAYMENT_PAYPAL_STANDARD_EWP_OPENSSL',

'/usr/bin/openssl', 'The location of the openssl binary

file.', '6', '4', now())");

 

=============================================================

 

Thanks.

Carl

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.

Guest
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...