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!
Power_ProAsked:
Who is Participating?
 
Julian HansenConnect With a Mentor Commented:
Actually I want to skip payment gateway entirely if that's at all possible.

That is what I was referring to - you are wanting to take a cart / ecommerce tool and make it do something it was not designed to do.

In terms of your second question - validating without a PG - well that is what the PG does.

Typically your PG has 3 options (Payment, Deffered or Authenticate) - usually an authenticate is done in all cases - basically the PG checks the CC details with the bank to see if the card is valid - then depending on the option you select either debits the clients account immediately (payment) or just marks the transaction as authenticated and returns a positive to your site.

We use the Authenticate option a lot as our client has to by law send goods within a certain time of debiting the account - which is not always possible so they authenticate - this keeps the CC details on record with the PG and when the order is ready to go they go into the backend for the PG and initiate the transaction.

This is what I was referring to as a possible solution in an earlier post.
0
 
Julian HansenCommented:
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.
0
 
Power_ProAuthor Commented:
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?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Julian HansenCommented:
Forwarded - to where? By Email?
0
 
Ray PaseurCommented:
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 ;-)
0
 
Julian HansenCommented:
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.
0
 
Power_ProAuthor Commented:
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?
0
 
Julian HansenCommented:
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.
0
 
Power_ProAuthor Commented:
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.
0
 
Julian HansenCommented:
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.
0
 
Power_ProAuthor Commented:
Actually I want to skip payment gateway entirely if that's at all possible.
0
 
Power_ProAuthor Commented:
Can I configure it to auto validate without a payment gateway?  That would be an acceptable solution.
0
 
Power_ProAuthor Commented:
I figured it out.  I set the Payment Gateway as COD and then edited the details so that the order would process.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.