Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Eway Rapid Direct Payment Client Side Encryption Rate Topic   - - - - -

 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 20 June 2017 - 12:27 AM #1

Hi, 

 

Anyone else using the Rapid API for eWay direct payments?

 

I see there is a field in the configuration for client side encryption key, however eWay are receiving my credentials unencrypted. 

 

Looking through the source code in app/payments/eway/eway_rapidapi.functions.php there is no sign of the encryption_key field from the configuration. 

 

Am I missing something?

 

Cheers.. 



 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 24 August 2017 - 02:14 AM #2

Hello - anyone else on this one?  I am running 4.4.2 SP2



 
  • myshop
  • Newbie
  • Members
  • Join Date: 08-Aug 12
  • 14 posts

Posted 11 April 2019 - 05:23 AM #3

I have this issue as well after upgrading a clients site from a very old version of CS-CART. Any clues



 
  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 169 posts

Posted 11 April 2019 - 05:25 AM #4

Hey... 

 

The encryption key is actually sent to the javascript (responsible for encrypting) which is inside this template... Make sure it is getting included.. it is part of the responsive theme, so it should be, but start looking there anyway. 

 

templates/views/orders/components/payments/cc_eway.tpl:       
var eway_enc_key = '{$cart.payment_method_data.processor_params.encryption_key}';



 
  • myshop
  • Newbie
  • Members
  • Join Date: 08-Aug 12
  • 14 posts

Posted 11 April 2019 - 05:51 AM #5

I can see that line of code in cc_eway.tpl

 

eWay suggested that the problem may be to do with the card validation jquery running (part of CS-Cart). They gave me this code to add, but I dont know where (and I think if its a problem with CS-Cart they really should patch it).

 

$("#form").validate({
submitHandler: function(form) {
eCrypt.submitForm();
},
invalidHandler: function(event, validator) {
this.onsubmit = null;
}
})