Link to home
Start Free TrialLog in
Avatar of Power_Pro
Power_ProFlag for United States of America

asked on

Add Custom Credit Card Fields to WooCommerce Checkout page to replace Payment Gateways

I'm working on a site where the client doesn't want payment processing to be handled online but rather for the user to submit their credit card data (via SSL of course) and then payment to be handled manually later.

I'm not very familiar with Woocommerce so I'm stumped.  All I've been able to do so far is turn off the existing payment gateways but I don't see where I can add custom credit card field elements.  Since I'm not using a payment gateway, custom addons for credit card gateways aren't all that helpful.

But I need to be able to add a custom field with a drop down menu to indicate Visa, Mastercard, American Express or Discover, A field for the name on the card, a field for the card number, expiration date field (two drop down menus for month and year) and a field for the security number on the back of the card.

I need it so that when the user submits the order, that information is emailed to the client and a notification comes up letting them know that their order has been submitted and to expect a call from a representative of the site.

Can anyone help?

Thank you!
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

So you want to store the CC details on your site - if so bear in mind that you usually have to go through a stringent procedure PCI-DSS to avoid backlash of your DB being hacked.
Avatar of Power_Pro

ASKER

Not stored...forwarded.  But if stored, I'd need to ensure security of course.  The point is to have the page work as though someone were filling out a form and faxing it but in this case, the information would be forwarded online.

Possible?
Forwarded - to where? By Email?
You'll fail PCI compliance if you use email to transmit payment information.  You'll also fail PCI compliance if you do not transmit everything behind SSL.  It's complicated and the banking community has spent a fair amount of time, effort and money coming up with the correct guidelines.  You really want to follow their guidelines!  Start your learning adventure here:
http://en.wikipedia.org/wiki/PCI_compliance

Here is what I would do.  After you're thoroughly familiar with PCI, get the client and his banker together.  Have a plain-language discussion about how best to transmit the financial information.  Have the client explain his reasons for not wanting online payments (they may be perfectly legitimate or they may be grounded in ignorance). The banker will undoubtedly need some advance notice so he can have his technical and legal advisors available for a conference call.  Hash out all the details, memorialize the conversation with countersignatures on all copies of the notes.  Then come back to EE if you still have questions about the design of a compliant system.

Or just use PayPal ;-)
Another option is that many payment gateways provide an authorisation service - where the client's cc details are captured but no money is taken from the account. A manual transaction can then be processed when you need to.
Okay I just talked to the client and they're okay with not having credit card info transmitted given the complications.

So, what that means is I still need to customize WooCommerce to allow for an order to be captured, ie, the users information and what items they want... with a notice that payment will be handled via phone later.

https://bonzosfireworks.com/

Orders are not going to be shipped... it's all home delivery.  It's very local :D  So only orders from the state are allowed because they don't know the laws with regard to their merchandise in other states.  

So I need to add a promo code field, a state tax field, remove shipping and allow for an order to be accepted without a payment portal.

Do I need to start a new question or is this still substantively similar to the original concept?
If the plugin does not handle this natively then you will need to customize it - which would require hiring someone - it is a bit too broad for this forum.
It might actually handle it natively.

It has a testing feature right, that doesn't complete a transaction but logs the info (address, amount ordered, etc)?  That's actually all I need here.
If that works for you but the question still remains - how is payment going to be made - will this be handled telephonically after the fact?

If so it sounds like you are trying to get a payment gateway to do the work of an online ordering system - i.e. order submission without payment. Most cart solutions will by default want to terminate in a payment of some kind - so this would be going against what is required.
Actually I want to skip payment gateway entirely if that's at all possible.
Can I configure it to auto validate without a payment gateway?  That would be an acceptable solution.
I figured it out.  I set the Payment Gateway as COD and then edited the details so that the order would process.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial