Skip to content

Conversation

@codefromlani
Copy link
Contributor

This PR adds usage guide for the PaystackAdapter, demonstrating how to initialize payments, check transaction status, and issue refunds using EasySwitch.

The example includes:

  • Configuration via EasySwitch.from_dict()
  • Payment initialization flow
  • Status checks and refunds
  • Troubleshooting section for common API errors

Notes

  • The examples was validated using a real Paystack test key (sk_test_...) and a sandbox transaction.
  • Additionally, i updated the send_payment and refund method to use json_data instead of json for compatibility with the HTTPClient requests.

@Einswilli
Copy link
Collaborator

Good job @codefromlani !
Can w have a preview link?

@codefromlani
Copy link
Contributor Author

Good job @codefromlani ! Can w have a preview link?

Thanks.
preview link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants