Payment Gateway E-way update in wordpress code
-
Hello,
I am currently moving from PayPal to E-way as a payment gateway on my website, and need to update the link on the donate page.
You can find the Donate page here: https://pollinateenergy.org/donate-now/
As you can see, there are four blocks, starting with ‘Worker Bee’. These currently link up to the Paypal page, but I need them to be buttons to the E-way page. On the E-way page, it tells me to integrate this into my code:
<script src=”https://secure.ewaypayments.com/scripts/eCrypt.js”
class=”eway-paynow-button”
data-publicapikey=”epk-0A659F52-F21E-46F7-8D1D-473463BBD147″
data-amount=”1000″
data-currency=”AUD” >
</script>My code currently reads (only for worker bee):
<div class=”donate1-paypal”>
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”DQQ4N52CAAGNA”>
<input type=”image” src=”http://pollinateenergy.org/wp-content/uploads/custom/Sponsorship_1_new.png” onmouseover=”this.src=’http://pollinateenergy.org/wp-content/uploads/custom/Sponsorship_1_hover_new.jpg’;” onmouseout=”this.src=’http://pollinateenergy.org/wp-content/uploads/custom/Sponsorship_1_new.png’;” border=”0″ name=”submit” alt=”PayPal — The safer, easier way to pay online.”>

</form>
</div>So I have two questions:
1. How do I KEEP THE CURRENT BUTTONS (Worker Bee, Coffee Cruncher, etc) and have these open up to the e-way link and not the Paypal one? What changes do I need to make?
2. When I do integrate the code, I get the following error:405 – HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.Any help on this would be really, really appreciated. Thanks so much!
The topic ‘Payment Gateway E-way update in wordpress code’ is closed to new replies.