Jump to content

google checkout integration - SSL Help


Recommended Posts

this is all i get every day, I get notification from google but the order does not enter the back office, due to the module not creating a SSL validation.php, there is 1000's of threads with people with the same problem and have just given up as no one can help us... people are posting that if you manually edit the validation.php



Hello [email protected],

- Hide quoted text -
We've made several unsuccessful attempts to send order notifications to your notification callback URL, https://ukdreamshop.admin.prestabox.com/modules/gcheckout/validation.php As a result, you aren't receiving order status, risk or other notifications.


To help you identify the issue with your callback URL, please review the errors we encountered while sending notifications to you. To review this error information:
Sign in to Google Checkout.
Click the Tools tab.
Click Integration Console.
Error messages will appear under 'Integration Issues.' If necessary, you can also update your callback URL in the 'API callback URL' box on the same page.
For more information about receiving notifications via the notification API, visit http://code.google.com/apis/checkout/developer/index.html#notification.

Link to comment
Share on other sites

this was taken from a post where somewhere says they solved it, but i dont know wher ei can get access to edit the validation.php

I’ve solved my gcheckout problem. took lots of reading on the web but this is what I found out:
your webhost has to have php in apache mode. if it has php in cgi mode this is what you need to do:
go to cpanel and Security section and click on Password Protect Directories. choose the directory /modules/gcheckout/library.
enter the user as your merchant id and the password as the merchant key. enter in the Name the protected directory box anything you want.
then you have to edit the validation.php file in /modules/gcheckout/ (comment out a line)
find this line:
$status = $Gresponse->HttpAuthentication(); if(!$status) die(‘authentication failed’);
and change it to this:
/*$status = $Gresponse->HttpAuthentication();
if(!$status) die(‘authentication failed’); */
after you go from sandbox mode to real mode don’t forget you’ll have to change the user and password for that library directory to your real id and key not the sandbox ones.
hope this helps someone else.

Link to comment
Share on other sites

It looks like you need to edit modules/gcheckout/validation.php using whatever editor you prefer to use, then upload it to your server using FTP. What version of Prestashop are you using? If this issue exists on Prestashop v1.3 RC4, you should post a bug report on the bug tracker.

Link to comment
Share on other sites

You can't edit validation.php from the Back Office. Do you have access to all of Prestashop's files? You need to edit validation.php using an editor like Notepad and use an FTP client to upload the file to your server.

Link to comment
Share on other sites

Hopefully, PrestaBox will upgrade you to v1.3 final when it is released and that will fix the problem. You can post a bug report on the bug tracker if you want to bring this to the PrestaShop team's attention.

Link to comment
Share on other sites

Yes, but the Google Checkout module is developed by the PrestaShop team and comes with PrestaShop, so it is considered part of the shop. There have already been a few bugs reported in it since v1.2.5 that have been fixed in v1.3.

Link to comment
Share on other sites

  • 2 weeks later...

Ok follow up, i had to get rid of prestabox for very very bad customer service is ent so many mails no reply, ok i installe dthe shop from scratch on a new host installed 1.3 rc6..

Still problem exsists but i notice the enable ssl in settings can anyone port me in the right direction to getting a certifacte to solve this issue

Link to comment
Share on other sites

Hi ukdreamshop,

Since you are using PrestaBox, you have sent more than 40 mails to us; most of our responses were made within 24 hours!
For the others, know you can’t test and deploy SSL certificate in 2 hours!
You need to make several tests (security, performances, stability…)

Regards,

Link to comment
Share on other sites

  • 1 month later...
Hi ukdreamshop,

Since you are using PrestaBox, you have sent more than 40 mails to us; most of our responses were made within 24 hours!
For the others, know you can’t test and deploy SSL certificate in 2 hours!
You need to make several tests (security, performances, stability…)

Regards,


This is probably a silly question, but does this mean that SSL can be enabled in PrestaBox? I'd like to offer Google Checkout as a payment option. =)
Link to comment
Share on other sites

Hi ukdreamshop,

Since you are using PrestaBox, you have sent more than 40 mails to us; most of our responses were made within 24 hours!
For the others, know you can’t test and deploy SSL certificate in 2 hours!
You need to make several tests (security, performances, stability…)

Regards,


This is probably a silly question, but does this mean that SSL can be enabled in PrestaBox? I'd like to offer Google Checkout as a payment option. =)


[sOLVED] The answer is YES!
Link to comment
Share on other sites

  • 4 weeks later...

Hello,

I have made the changes mention previously. I still don't get the order posting in the BO. My hosting service says that php is in apache mode. I still made the directory changes mention with no luck. Any help would be appreciated.

Thanks

Link to comment
Share on other sites

  • 1 year later...

There are two solutions.

 

1. Create a .htaccess file with the following :

 

<IfModule mod_rewrite.c>
	  RewriteEngine on
	  RewriteCond %{HTTP:Authorization} ^(.*)
	  RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
</IfModule>

 

Save and upload to :

 

/store/modules/gcheckout

 

2. If above fails download and install Agile Order Recovery :

 

http://www.prestasho...shopping-carts/

Link to comment
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
×
×
  • Create New...