Payment Gateway

The Payment Gateway enables the administrator to accept payments from the users and to track the incoming and outgoing payments. The Payment gateway includes functions designed to support common types of payment services and credit card payments. Whenever a payment is credited, a payment transaction should be created and invoice or receipt is generated, based on the user request. The payment transaction functions as a basic receipt for successful payments or a log indicating the payment failures. The payment transactions should be updated to reflect the final amount of money collected.