I need a simple payment module to work within a wroupon site together with the Portuguese Multibanco Payment References.
The idea is that upon payment the customer has the additional "Multibanco" option (like Paypal and others). When choosing Multibanco he must receive an onscreen window + email with the details of the order and the Multibanco reference to proceed to the payment (composed by "Entidade", "ReferÃªncia", "Valor"). Having both options (onscreen + email) will help the user to make the payment as soon as possible; if not possible, the email will help the customer remember the data for doing the payment later.
The Multibanco references are composed of:
Entidade: XXXXX (this is constant)
ReferÃªncia: XXX XXX XXX (the first 3 digits are constant)
Valor: XX [url removed, login to view] (this is the payment value)
Enclosed in attachment are all the needed tools and guidelines for implementation. The reference is calculated as descrived in the pdf (in Portuguese) and I also include some code examples.
We need the solution to allow the wroupon site to associate payments with user_id and order_id, and also to update payment status by realtime access to the XML / CSV file with all payments (available by FTP access).