Loading


Advertisement:

Author Topic: PAYMENT_PRO_CRYPT_KEY  (Read 553 times)

jennland

  • Newbie
  • *
  • Posts: 5
PAYMENT_PRO_CRYPT_KEY
« on: November 22, 2016, 07:49:50 am »
I am having a terrible time with this plug in. I have tried installing all day today while reading numerous forums, video tutorials etc all to no avail. I enjoy a challenge but I finally give up on this one and would love some help. I know its probably me as I saw no one with this problem on the forms.  First step I think is making sure the code below I am inserting is correct. What you see is a cut and paste

    <?php
                    if(!defined('PAYMENT_PRO_CRYPT_KEY')) {
                        define('PAYMENT_PRO_CRYPT_KEY', 'randompasswordchangethis');
                    }
               
I locate the payment_pro file and then click the + sign to create and add a new file called config.php Next I click on this new file and click on the edit button which then illuminates and I paste the above code. Then I alter the password of randompasswordchangethis to my own password. Next I click save. Then I try my site with sandbox clicked. But it always fails and I try numerous times but of course with the same results. I even try the other button of code editor.   The following is the latest message I receive.

Warning: Cannot modify header information - headers already sent by (output started at /home/invent48/public_html/oc-content/plugins/payment_pro/config.php:1) in /home/invent48/public_html/oc-includes/osclass/core/Cookie.php on line 90

Fatal error: Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "PutObject" on "https://16.jpg"; AWS HTTP error: cURL error 6: Could not resolve host: 16.jpg (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' exception 'GuzzleHttp\Exception\ConnectException' with message 'cURL error 6: Could not resolve host: 16.jpg (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in /home/invent48/public_html/oc-content/plugins/amazons3/aws/GuzzleHttp/Handler/CurlFactory.php:186 Stack trace: #0 /home/invent48/public_html/oc-content/plugins/amazons3/aws/GuzzleHttp/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 /home/invent48/public_html/oc-content/plugins/amazons3/aws/GuzzleHttp/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlMultiHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 /home/invent48/public_html/oc-content/plu in /home/invent48/public_html/oc-content/plugins/amazons3/aws/Aws/WrappedHttpHandler.php on line 192

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4657
Re: PAYMENT_PRO_CRYPT_KEY
« Reply #1 on: November 22, 2016, 10:28:06 am »
Dear jennland,

The problem you are experiencing is due to the amazon s3 plugin, as stated here : http://forums.osclass.org/3-6-x/problem-exiting-a-test-ad-34627/

Also, make sure your PAYMENT_PRO_CRYPT_KEY has a length of exactly 24-characters

Regards