Princewil / flutter_paystack_plus

A package for Implement payment using paystack - Compatible on Android, iOS and Web
Apache License 2.0
6 stars 8 forks source link

Added Split payment and Subscription to README #9

Closed jeremiahseun closed 7 months ago

jeremiahseun commented 7 months ago

I was searching for how to implement Split Payments. After a lot of research, I was able to make it work with this package and without an external dependency.

So I decided to share this information so that when someone encounters this issue, this package can be the perfect fix for them.

All contributions are in the README.md file.

Gracias! 👌🏾

Princewil commented 7 months ago

Awesome, thanks for the info! I will check out.

On Fri, 5 Apr 2024 at 15:00, Jeremiah Oluwaseun Erinola < @.***> wrote:

I was searching for how to implement Split Payments. After a lot of research, I was able to make it work with this package and without an external dependency.

So I decided to share this information so that when someone encounters this issue, this package can be the perfect fix for them.

All contributions are in the README.md file.

Gracias! 👌🏾

You can view, comment on, or merge this pull request online at:

https://github.com/Princewil/flutter_paystack_plus/pull/9 Commit Summary

File Changes

(3 files https://github.com/Princewil/flutter_paystack_plus/pull/9/files )

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/Princewil/flutter_paystack_plus/pull/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWWTEY74WGY72XN2HOMRJ3Y32U6NAVCNFSM6AAAAABFZGVTFOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDQMJRGIYTONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Princewil commented 7 months ago

I went through the codes @jeremiahseun I must commend, you did a wonderful job.

I want to know, is there a way we could give control to the additional parameters on the Split payment and other added functionality from the flutter dart end on realtime rather than hardcoding on js file?

jeremiahseun commented 7 months ago

Yes of course we can.

In the paystack_interop.dart file, the paystackPopup function can have some additional parameters.

However, we have to provide the JS code as we currently have, but for split payment and for subscription.

The split payment can also work for mobile as well.

jeremiahseun commented 7 months ago

I think it should work this way, although I haven't tested it. @Princewil

Princewil commented 7 months ago

That's fine. I will go ahead and merge. We will keep working on it going forward from here.