Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.42 KB

File metadata and controls

30 lines (18 loc) · 1.42 KB

android-web-service

A sample PHP app that uses the Paystack Class to receive call from an android app. A sample android app, and the source code for the Paystack Android library, are here.

To run the sample

  1. cd to the folder:
cd /path/to/android-web-service

1.5 if you downloaded this repo, you need to cd into android-web-service/paystack-class and download and unzip the Paystack Class Master into it.

  1. Change the PAYSTACK_SECRET_KEY in functions.php to your paystack secret key gotten from > https://dashboard.paystack.co/#/settings/developer

  2. call //url.domain.tld/to/charge-token.php?token=PSTK_xxx&email=xxxxx from the android app with a token generated using the Paystack Android Library.

Files

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.