Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EMAIL CC DETAILS PROBLEMS!!!


Guest

Recommended Posts

Am I right in saying that the correct contribution for sending cc details by email is located at:

http://www.oscommerce.com/community/contri...ions,894/page,2

???

 

If it is then im having problems with lines 144 - 152

 

      if ( (defined('MODULE_PAYMENT_CCGPG_ENCRYPT')) && (MODULE_PAYMENT_CCGPG_ENCRYPT == 'GPG') ) {

      	 $message = 'Order #' . $insert_id . "nn" . 'Number: ' . $this->cc_complete . "nn";

	 $tmpToken = md5(uniqid(rand()));

	 $plainTxt = "/home/equine-m/temp/" . "$tmpToken" . "anca";

	 $crypted = "/home/equine-m/temp/" . "$tmpToken" . "anca.asc";

	 $gpghome="/home/equine-m/";  //where is your pubring? That dir has to have write access.

	 $gpgpath="gpg";   //where is the executable

	 $gpgrecipient="Glen Ross (emailkey) <[email protected]>"; //the key used for encryption

	 $fp = fopen($plainTxt, "w+");

 

What is it that I need to do to fill this in properly?

 

What is a pubring, key used for encryption and what do i need to do to change the path to gpg?

 

Any help appreciated..

Thanks everyone.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...