Enable eWay encryption

There are two steps necessary to enable client side encryption.

1. Add your encryption key to your payment processor settings. You can get your public key by going to your "MyEway" and then going to My account > Client Side Encryption

2. You'll then need to add the below javascript to either the donation page template in your theme, or the page template for your individual donation pages.

<script> $(document).ready(function() { $(".donation_form").attr("data-eway-encrypt-key", "{{ page.donation.merchant_account.public_encryption_key }}"); $("#donation_card_number").attr("data-eway-encrypt-name", "EWAY_CARDNUMBER"); $("#donation_card_verification").attr("data-eway-encrypt-name", "EWAY_CARDCVN"); var script = document.createElement("script"); script.src = "https://secure.ewaypayments.com/scripts/eCrypt.js"; document.head.appendChild(script); }); </script>

Related HOWTOs

How to connect a payment processor
How to create a donation page
Theme vs page level editing

Did this answer your question?