User Tools

Site Tools


payment_api

Table of Contents

Payment API

The payment API is used to record payments from external payment gateways like paypal and squareup.

Settings

check that the timezone in settings is correct, it should be one of the following

Australia/ACT

Australia/Melbourne

Australia/Perth

Australia/Brisbane

Pacific/Auckland

Cut and paste your key from settings into notepad for testing

Testing

Go to https://demo.mibase.com.au/home/api/test_form.php

IMPORTANT replace demo with your library code.

Enter values into the API test form and press submit, remembering to cut and paste your key into the form.

If the test is successful, the next page will return the following json object

{“error”:“”,“id”:5498,“status”:“Payment has been recorded in Mibase”}

indicating the payment was successful.

Install

In the page on your website that returns a successful payment insert the following php code. Assign the values that are returned from the payment process.

The PHP code to add

payment_api.txt · Last modified: 2019/03/18 17:27 by mibase

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki