Sometime it is difficult to fetch transaction in Payment gateway. No worry, Rave is the best and easiest way to accept payments online and in mobile apps. They enable businesses - from mom and pop shops to global conglomerates - accept payments easier, faster and safer.
Accept payment quickly and securely using the standard method by calling the hosted/pay endpoint. When you call the endpoint we return a response with a payment link, do a redirect to the link and a secure payment form would be loaded for your customer to enter their payment details.
Step 1: Collect payment details.
Collect the customer’s email and currency if they are not paying in NGN, if customers are required to enter amount collect that as well. You need to make sure emails are unique per customer.
Step 2: Initialise the payment.
After collecting payment details initialise the payment by calling our API with the payment details.
Step 3: Handling payment response verifying transaction.
What is a Webhook
?
A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.
Rave sends webhooks events that notify your application any time a payment event happens on your account. This is very useful for events - like getting paid via mobile money or USSD where the transaction is completed outside your application- Recurring billing where an API call is not needed for subsequent billings.
In Rave you can setup webhooks that would let us notify you anytime events- A user on a subscription is charged, a customer completes a payment, we update a pending payment to successful- happen in your account.
API Keys
Rave authenticates your API requests using your account’s API keys. If you do not include your key when making an API request, or use one that is incorrect or outdated, Rave returns an error.
There are also two types of API keys: publishable and secret:
API keys are meant solely to identify your account with Rave, they aren’t secret. In other words, they can safely be published in places like your Rave JavaScript code, or in an Android or iPhone app. Publishable keys only have the power to create a transaction.
Secret API keys should be kept confidential and only stored on your own servers. Your account’s secret API key can perform any API request to Rave without restriction.Test and live modes
.The test and live modes function almost identically, with a few necessary differences:
In test mode, payments are not processed by card networks or payment providers, and only our Test cards and Test bank accounts can be used.