Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Payments Pro (US) - "Security header is not valid"


muellerizedsales

Recommended Posts

I get a red bar with the text "Security header is not valid" when attempting to process a transaction with PayPal Payments Pro (US) (the module that comes with v2.2 RC2. As far as I know I have all the correct developer details entered. I've found a mention of turning on logging. Would that help? Everything is setup as follows in the PayPal Pro US Module:

 

Enable PayPal Direct

True

 

API Username

REMOVED

 

API Password

REMOVED

 

API Signature

REMOVED

 

Transaction Server

Sandbox

 

Transaction Method

Sale

 

Payment Zone

--none--

 

Set Order Status

default

 

Sort order of display.

0

 

cURL Program Location

/usr/bin/curl

 

 

My site is https://muellerized.com/shop and uses a QuickSSL certificate. I assume this is an error based on the SSL Certificate, correct? Contents of my configure.php are below:

 

<?php

define('HTTP_SERVER', 'http://www.muellerized.com');

define('HTTPS_SERVER', 'https://muellerized.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'muellerized.com');

define('HTTPS_COOKIE_DOMAIN', 'muellerized.com');

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/shop/');

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/strider/public_html/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'strider_osc1');

define('DB_SERVER_PASSWORD', 'PASSWORD REMOVED');

define('DB_DATABASE', 'strider_osc1');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

I am happy to provide any and all information requested. Thank you in advance for any help or direction you may be able to provide :)

Link to comment
Share on other sites

  • 2 months later...

I am trying to setup a site. I paid for paypal website payment pro (partially to get the virtual terminal capability). When reading paypal's instructions on integration, they actually provide a v 1.77 addon for osCommerce. What is in the osCommerce 2.2 distro is v1.0. There is a whole host of new php files in 1.77 without any instructions on integrating mods to existing code. Does that exist for v1.77? DO I need V1.77?

 

Thanks

Link to comment
Share on other sites

I get a red bar with the text "Security header is not valid" when attempting to process a transaction with PayPal Payments Pro (US) (the module that comes with v2.2 RC2. As far as I know I have all the correct developer details entered. I've found a mention of turning on logging. Would that help? Everything is setup as follows in the PayPal Pro US Module:

 

Enable PayPal Direct

True

 

API Username

REMOVED

 

API Password

REMOVED

 

API Signature

REMOVED

 

Transaction Server

Sandbox

 

Transaction Method

Sale

 

Payment Zone

--none--

 

Set Order Status

default

 

Sort order of display.

0

 

cURL Program Location

/usr/bin/curl

 

 

My site is https://muellerized.com/shop and uses a QuickSSL certificate. I assume this is an error based on the SSL Certificate, correct? Contents of my configure.php are below:

 

<?php

define('HTTP_SERVER', 'http://www.muellerized.com');

define('HTTPS_SERVER', 'https://muellerized.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'muellerized.com');

define('HTTPS_COOKIE_DOMAIN', 'muellerized.com');

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/shop/');

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/strider/public_html/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'strider_osc1');

define('DB_SERVER_PASSWORD', 'PASSWORD REMOVED');

define('DB_DATABASE', 'strider_osc1');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

I am happy to provide any and all information requested. Thank you in advance for any help or direction you may be able to provide :)

 

As You were using the sandbox account is Your certificate also the one that was issued/generated thru sandbox.

 

Satish

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

I get a red bar with the text "Security header is not valid" when attempting to process a transaction with PayPal Payments Pro (US) (the module that comes with v2.2 RC2. As far as I know I have all the correct developer details entered. I've found a mention of turning on logging. Would that help? Everything is setup as follows in the PayPal Pro US Module:

 

Enable PayPal Direct

True

 

API Username

REMOVED

 

API Password

REMOVED

 

API Signature

REMOVED

 

Transaction Server

Sandbox

 

Transaction Method

Sale

 

Payment Zone

--none--

 

Set Order Status

default

 

Sort order of display.

0

 

cURL Program Location

/usr/bin/curl

 

 

My site is https://muellerized.com/shop and uses a QuickSSL certificate. I assume this is an error based on the SSL Certificate, correct? Contents of my configure.php are below:

 

<?php

define('HTTP_SERVER', 'http://www.muellerized.com');

define('HTTPS_SERVER', 'https://muellerized.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'muellerized.com');

define('HTTPS_COOKIE_DOMAIN', 'muellerized.com');

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/shop/');

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/strider/public_html/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'strider_osc1');

define('DB_SERVER_PASSWORD', 'PASSWORD REMOVED');

define('DB_DATABASE', 'strider_osc1');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

I am happy to provide any and all information requested. Thank you in advance for any help or direction you may be able to provide :)

Not sure if this helps but i change the sandbox to live and alls well (Does mean i can not run a check tho :( )

Link to comment
Share on other sites

Not sure if this helps but i change the sandbox to live and alls well (Does mean i can not run a check tho :( )

 

switch to 'authorization' from 'sale' then you can simply void the payment through paypal admin

Link to comment
Share on other sites

As Satish points out, if you want to test in the Sandbox, you *MUST* generate a new set of API credentials from within the Sandbox account. The Security Header Not valid error means you are using a set of credentials that are not valid for the chosen environment. You cannot use your Live credentials with the Sandbox - they are completely separate environments.

 

If you have further problems, please log a ticket at https://www.paypal.com/mts

Edited by PayPal_AnthonyH
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...