Online order form in Concrete5 connected to Eway payment gateway

Permalink
Not sure if anyone has any experience (or if it is possible) but have a client keen to link their online form for when members renew to a payment gateway to collect credit card payments. They currently have a form that captures the details but would like to take it to the next level by offering to complete with credit card on the spot.

They have registered for an eway (Australia) account.

Previously they have used php files external to Concrete5 to transact but it isn't mobile friendly and they have just moved their new website to C5 so I thought I'd put it out there and see if it is even an option.

Thanks!
Michelle Beecroft

shellgraphix
 
manup replied on at Permalink Reply
manup
Yes, we can use thishttps://github.com/samuelwilliams/eWay-PHP-API...

Please let me know if you are looking for make this as a package for your website
shellgraphix replied on at Permalink Reply
shellgraphix
Thanks for your reply, keen to know more about this if possible.
manup replied on at Permalink Reply
manup
yes, possible
mesuva replied on at Permalink Reply
mesuva
A couple of quick questions:

- are you using current 5.7 version or the legacy version of concrete5?
- are you just wanting a payment form/button, or are you wanting the site to track more in the way of an order? I.e. will the site send a transaction email itself like a shop would?

One possible quick solution is to use eway's payment button:https://www.eway.com.au/features/payments-pay-now...

It's very similar to something like a paypal button, in that it's just a snippet of HTML you add to the page. It's fairly limited, but you can enable some extra fields for email and phone (the email would then be used as the membership identifier).

I would normally also suggest taking a look at Snipcart, but that doesn't support eWay at the moment.

Just a note with manup's reply - the linked payment script is one where it appears to _directly_ handle the card data. This shouldn't be done and is a security and PCI compliance problem.

There is no need with eWAY (or most other payment gateways) to handle the card data directly by the webserver, instead, credit card data should be submitted using either token based approaches, hosted pages/iframes or through 'direct post' methods. In all these cases, the credit card details only get sent to the payment gateway and never pass through the web server. Just something to be aware of for best practices.
manup replied on at Permalink Reply
manup
Thank you Mesuva!!

Michele, what do you think ?

We can make four such buttons and let customer pay from it
Mainio replied on at Permalink Reply
Mainio
Regarding the mention above about the "PCI compilance problem":

Even when using the iframe options, the ecom vendor need to become PCI compilant themselves because it's still embedded on THEIR site. The process is much more lightweight in this situation (usually filling out SAQ A or SAQ A-EP with the iframe solution), but anyways, any 3rd party payment providers cannot take care of 100% of PCI compilance for you if the credit card information is filled on the site.
mesuva replied on at Permalink Reply
mesuva
Totally agree.

I've not yet met anyone that has actually done a SAQ, but I'm sure that they are out there!
:-P

I guess I'm just highlighting that the levels of PCI compliance required are very different, as many developers don't realise the difference in the ways the processing can be done and what impact that has. Using iframes or direct post methods in _practical terms_ really just requires one to responsibly maintain a site and server - SSL certs, solid security practices. Whereas directly handling CC data requires a completely different level of compliance, impractical to many/most, especially if you want to use typical hosts.
FaganSystems replied on at Permalink Reply
FaganSystems
I would completely agree.

As someone that has actually taken a number of clients through PCI compliance from small membership sites through to large ecom (Magento) sites with physical stores, I can say that the PCI process can vary enormously in terms of time and cost.
Unless you are a large scale business running your own servers regardless of if they are on premises or with a hosting provider then stay away from trying to handle your own card data. I would strongly recommend using iframes or even switching away to the card payment gateway's site and let them take the strain on processing the payment.
You will still have to complete the PCI process which can be a very much reduced just avoid going anywhere near having Card numbers stored on your website or even on office computers.

I have been working on a C5.7 plugin for another payment gateway and could consider putting Eway on the list to build if there was sufficient demand.
Mainio replied on at Permalink Reply
Mainio
Yes, that's very true that there are different levels of actions required depending on how much of the card handing is done at the site's end.

@Mesuva
"I've not yet met anyone that has actually done a SAQ"

Well, we've done it with the customers that require something like this.

In fact, SAQ A is also required even if you redirect users to pay on a 3rd party site through a link because that link can be compromised on your site.

https://www.pcisecuritystandards.org/documents/Understanding_SAQs_PC...

Page 5:

Examples of e-commerce implementations addressed by SAQ A include:
(...)
- Merchant website contains a URL link redirecting users from merchant website to a PCI DSS
compliant third-party processor facilitating the payment process.
mesuva replied on at Permalink Reply
mesuva
This could be a regional thing.

No payment gateway I've worked with in Australia (eWAY, SecurePay, Pin, Stripe, Westpac), have required us in any part of the process to do a SAQ. eWAY mentions it on their website, but it's not part of their process. They do a check/audit, but it's not a PCI thing.

The banks are ultimately the ones controlling the process here, and I believe that they more 'encourage' good practices (by pushing heavily for things like Direct post methods via the processors) than anything else, at least that's what appears to be the case here. I've had a couple of good chats with some providers here, and ultimately it's all about keeping the banks happy.
FaganSystems replied on at Permalink Reply
FaganSystems
I am surprised by that, my clients have 10 payment gateways between them, every time one of them or a new client wants to change or add a payment gateway I warn them about getting ready for the PCI SAQ. From experience failing to provide a SAQ or failing a PCI check results in higher fees from the banks and the payment gateway due to the increased risks, and ultimately disconnection from the payment gateway.

This is found on the Eway website
https://www.eway.com.au/about-eway/technology-security/pci...

What are PCI DSS SAQs?

The PCI DSS Self-Assessment Questionnaires (SAQs) are validation tools intended to assist merchants and service providers in self-evaluating their compliance with the PCI DSS (Payment Card Industry Data Security Standards). There are multiple versions of the PCI DSS SAQs to meet various scenarios.

Do I need them?
All payment gateways and merchant banks are required to have their merchants complete at least one of the SAQ forms, listed to the left.

Which Ones?

As a merchant who is accepting card transactions your bank will require you to complete the correct PCI DSS SAQ for the API type that you are integrating with.
Mainio replied on at Permalink Reply
Mainio
@mesuva

The PCI standards are universal.

Not all payment gateway providers mention these requirements necessarily either because they want more customers more easily (leave it out for the user to figure out themselves) or they are unaware of these requirements themselves. I think all trustworthy gateway providers should put the necessary resources to these issues as well, at the very least informing their clients what is required from them. Better is of course requiring you to submit the SAQ to them before opening up your account for production use, like some providers do.
mesuva replied on at Permalink Reply
mesuva
It simply not mentioned here. Over multiple applications, across different gateways, not one has every asked or even mentioned PCI SAQs.

They have a checklist you have to meet (SSL, terms and conditions, refund details, clear contact details, etc, etc), but PCI is never part of it. I've has to work through these checklists numerous times.

I certainly do understand that PCI is considered a universal standard, but I believe it all comes down to the expectations of the banking industry in the relevant country. It's also a bit of a changing market, where it originally was all handled by banks (with gateways really just being a technical layer on top), but now you don't even need a 'merchant account' through a bank.