Maldives Payment Gateway (MPG) offers the means of making and receiving payments electronically to all our customers. Merchants with a valid enabled account can use the system to submit, authorize and capture card transactions in a 3D Secure environment without the need for a separate terminal for transactions. MPG facilitates new opportunities for businesses to expand further and the opportunity for creation of new businesses. MPG is a real-time transaction processing system that functions as a payment gateway switch using secure transaction servers on the internet.
Pay.mv merely provides a minor fraction of the functionalities provided by BML's MPG. As said before, this gateway is meant to be used only at circumstances where the test gateway provided by BML is unavailable or the like.
Pay.mv or the documentation provided with this, has no relation to the bank what so ever. What described in here is solely a depiction of the knowledge I attained through implementing MPG for a commercial company and I shall take no responsibility for misusing this gateway.
Moreover, the values submitted to this gateway, has never been or will never be stored/cached in any way. As you would notice, the transactions from/to this gateway is secured through SSL. If you have any concerns or would like to inquire about anything, feel free to contact me through firstname.lastname@example.org
Bank of Maldives reserves the right to the MPG (any and every thing related to it), and at any point, this gateway is subject to be discontinued if BML officialy requests or I decide to do so.
Welcome toPay.mv.Pay.mv was developed due to the difficulties I faced during the implementation of MPG for a commercial company. BML does provide almost everything you would need to know, in their developer's guide. However, some critical information seems to be missing and requires you to contact BML to attain them. One of them is the algorithm used to generate hashes.
They do provide a test gateway, with a handful of functionalities from the live one. Although, the test gateway would go down pretty often and you might lose a lot of precious time.Pay.mv was developed to save that time.Pay.mv does not offer the use of Credit/Debit cards (for obvious reasons) but it does accept the same request as MPG and responds the same as well.
Requests sent toPay.mv would need to be that mentioned in the BML MPG developer's guide. As such, having the following form on the page you would implement your request would do.
<form method="post" action="https://pay.mv">
For the input field, "MerRespURL", you would need to replace with your application's URL to whichPay.mv would need to respond upon completion of the transaction.
Do note that the URI used in "action" attribute would need to be the test gateway URI given by BML if you are going to be using BML's test gateway. Once you have completed the implementation and BML has approved it, you could replace the "action" attribute with the BML live gateway's URI.
Pay.mv's response is composed to be the same as the one from MPG except for the descriptions and codes used through out. Basic structure does not change.
To reduce the hassles that might be face during the implementation process of MPG,Pay.mv will also check the validity of your hash generation. IfPay.mv shows an error saying your hash does not match to the generate hash, please check your hash generation algorithm. If you have difficulties, you could either contact me or BML for further instructions.
That said, do also check if your hash generation on the response side is the same as the hashPay.mv generates while responding to you. The developer's guide has an outdated algorithm for the response hash generation. You would need to contact them to obtain the updated algorithm.