Custom WooCommerce Payment Plugin / Dealing with Credit Card Data
-
Hi all,
i am developing a payment plugin to integrate with a third-party payment provider (MangoPay, I know that they have a plugin but I can’t use it).
I succeeded in building a “standard” payment gateway which works fine. However, to comply to various regulations, i need to be able to post the credit card data that i collect in my plugin directly from the user’s browser to a certain URL, without passing my server. By doing so, i receive a token that i then need to insert into my checkout_form and submit this to my server.
I believe that this is also the more or less default way to build a credit card payment plugin, where the credit card data itselv does not touch my server.
How do I achieve this? I believe that the request to the third party credit card handler should be in a Javascript that is triggered as soon as the customer clicks on “Place Order”. But how do i properly integrate this into my plugin? I’m still a bit of a newbee in developing WP plugins.
Thanks a lot for your advice and support!
- The topic ‘Custom WooCommerce Payment Plugin / Dealing with Credit Card Data’ is closed to new replies.