I need a new payment gateway for wooCommerce.
This payment Gateway have to include the php_sepa lib from github : [login to view URL]
This are the requirements :
- At the checkout the user has to fill 3 new text-fields when the new payment-gateway is selected
--- Name
--- BIC
--- IBAN
-- BIC and IBAN must be validated with the functions from the php_sepa lib.
- This fields must be stored at the database
- After this the checkout is done, but the order/invoice is still unpaid ( i think you could use the default BACS gateway and do a extended copy of this gateway )
- The admin must a have a new menu-item at the backend, where he get's a list of all unpaid orders/invoices with this payment gateway
- At this list we need the fields :
--- order/invoice number
--- order/invoice date
--- order/invoice amount
--- Name
--- BIC
--- IBAN
- If the admin hit's a "start processing" button at this new backend-page a batch-process will start and do :
--- creates an email that will be sended to the order/invoice customer - i will define the text
--- mark the order/invoice as payed
- For all the processed records the plugin must create a new record at a new database table
with this fields
----- date (now)
----- number of all assigned records
----- amount of all assigned records
----- filename of the created XML file (see next description)
- For all the processed records the plugin must create a SEPA DD file with the php_sepa lib.
Code must be well documented
Code must be multi-language ready ( with he default wordpress functions __ and _e )
Code must be multi-site ready
Code must be multi-currency ready
You don't have to change the wooCommerce files.
You don't have to add any plugins.