Advertisement:

Author Topic: Payment plugin help  (Read 5997 times)

leeharrison44

  • Newbie
  • *
  • Posts: 17
Payment plugin help
« on: September 24, 2013, 12:56:49 am »
hi i'v just added the payment plugin to my site but this message came up when i tried to set it up ?

Please, change the crypt key (PAYMENT_CRYPT_KEY) in /var/chroot/home/content/99/11812799/html/oc-content/plugins/payment/index.php

I'm not sure what to do. hope some one can help :)

Thanks

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Payment plugin help
« Reply #1 on: September 25, 2013, 11:28:48 am »
In said file, you have the following :

Code: [Select]
define('PAYMENT_CRYPT_KEY', 'randompasswordchangethis');

You need to change 'randompasswordchangethis' to whatever you like, for example

Code: [Select]
define('PAYMENT_CRYPT_KEY', 'lisuayneriauerbwerklcxr');
code]


Your Paypal's API details are stored in the database, if someone steal your database it could access your paypal account and withdraw the money. changing said string, your API details will be encrypted, so in the case they steal your database, they will need to know the key you used.

dinocarrozzo

  • Newbie
  • *
  • Posts: 8
Re: Payment plugin help
« Reply #2 on: November 10, 2013, 02:01:53 am »
 what is the file that have to correrct?

nootkan

  • Sr. Member
  • ****
  • Posts: 259
Re: Payment plugin help
« Reply #3 on: December 01, 2013, 11:28:49 pm »
Quote
oc-content/plugins/payment/index.php