Payment gateway?

Has anyone tried to set up a payment gateway redirect with Plumsail forms? We need to charge a small fee and don't want to hold client banking data. Just want to have a redirect to eWay or similar. Would this even be possible?

Hello @duncanw,

You can add a Pay Now button to the form. Please find more information here.

1 Like

I'm experimenting with this. I have a code snippet like the below. How to I execute this when I click on a button?

<script src="https://secure.ewaypayments.com/scripts/eCrypt.min.js"
  class="eway-paynow-button"
  data-publicapikey="XXX-XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
  data-amount="1000"
  data-currency="AUD" > 
</script>

Hello @danNZ,

You need to add this code into the form via HTML-control:
image

Thanks. No button is added when I add this into the HTML control. Same code tests fine in at Example of button onclick which calls the function.

Hello @danNZ,

Could you please share the link to the form and the code that you are using to troubleshoot the issue.

You can share links here or send all information to support@plumsail.com.

As below only with < removed as I can't seem to post that here

html>
body>

script src="https://secure.ewaypayments.com/scripts/eCrypt.min.js" class="eway-paynow-button" data-publicapikey="XXX-XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" data-amount="1000" data-currency="AUD" > /script>

/body>
/html>

I have a public API key, but not sharing that here. The button should still render though.

Hello @danNZ,

Thank you!

Could you please share the link to the form. You can DM it or send it to support@plumsail.com.

Thanks. Have just emailed this through.