impress-org / seamless-donations

A reasonably popular donations plugin for WordPress
GNU General Public License v2.0
6 stars 8 forks source link

Option for adding custom payment gateways #7

Open ssensalo opened 2 years ago

ssensalo commented 2 years ago

If a developer needs to add a custom payment gateway besides Paypal or Stripe, this would allow them to integrate their own payment option maybe with a local bank or another payment gateway provider.

davidgewirtz commented 2 years ago

Sadly, doing that is far harder than you might think. I'm still struggling to get basic PayPal working reliably. When I adopted the plugin, PayPal was baked into every nook and cranny, so extracting and generalizing it is almost a complete rewrite. I did add Stripe, which taught me a lot about how non-general the problem is. I am aware of a library called (I think) Omnipay, and I'm thinking about integrating it, which would allow for other gateways. But even it isn't a simple API. Net-net, since this is far from my pays-the-bills gig and this is a barfingly big job, it's way on the back burner.

David Gewirtz Educator, Advisor, Columnist, Geek Author of The Flexible Enterprise and How To Save Jobs Read my columns at ZDNet DIY-IT http://www.zdnet.com/blog/diy-it/ and ZDNet Government http://www.zdnet.com/blog/government/ Read my lab notes at ZATZLabs http://zatzlabs.com/lab-notes/ and my videos on YouTube https://www.youtube.com/user/DavidGewirtzTV/ Mobile: +1 321-722-4620

Twitter http://twitter.com/davidgewirtz | Facebook https://www.facebook.com/davidgewirtz | Instagram https://www.instagram.com/davidgewirtz/ | LinkedIn https://www.linkedin.com/in/davidgewirtz | YouTube http://youtube.com/davidgewirtztv

On Thu, Nov 4, 2021 at 2:44 AM Ssensalo Edgar @.***> wrote:

If a developer needs to add a custom payment gateway besides Paypal or Stripe, this would allow them to integrate their own payment option maybe with a local bank or another payment gateway provider.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davidgewirtz/seamless-donations/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVLE4TFX7NNAWPKLTMOHQDUKJIXLANCNFSM5HK77WOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ssensalo commented 2 years ago

Yes, I have watched your youtube videos they are quite exhaustive I was able to get a clear understanding around the plugin, great job @davidgewirtz. Let me look more into the omnipay API next week. True this issue can't necessarily be generalized, but like you see for woocommerce its possible to add a custom payment gateway option and I think this plugin is really great we can enable more fine-grained control of the payment gateway for developers. I think it would also increase usage to an extent.

davidgewirtz commented 2 years ago

Feel free to dig around. Don't work off the Github version. Git has now a few times eaten my dev version, so I've given up on fighting with it. Instead, the almost current version is on the WordPress repo. Not too many changes since then outside of the paypal PHP files, so if you decide on a tweak you want me to incorporate, I can do so pretty easily.

David Gewirtz Educator, Advisor, Columnist, Geek Author of The Flexible Enterprise and How To Save Jobs Read my columns at ZDNet DIY-IT http://www.zdnet.com/blog/diy-it/ and ZDNet Government http://www.zdnet.com/blog/government/ Read my lab notes at ZATZLabs http://zatzlabs.com/lab-notes/ and my videos on YouTube https://www.youtube.com/user/DavidGewirtzTV/ Mobile: +1 321-722-4620

Twitter http://twitter.com/davidgewirtz | Facebook https://www.facebook.com/davidgewirtz | Instagram https://www.instagram.com/davidgewirtz/ | LinkedIn https://www.linkedin.com/in/davidgewirtz | YouTube http://youtube.com/davidgewirtztv

On Fri, Nov 5, 2021 at 8:45 AM Ssensalo Edgar @.***> wrote:

Yes, I have watched your youtube videos they are quite exhaustive I was able to get a clear understanding around the plugin, great job @davidgewirtz https://github.com/davidgewirtz. Let me look more into the omnipay API next week. True this issue can't necessarily be generalized, but like you see for woocommerce its possible to add a custom payment gateway option and I think this plugin is really great we can enable more fine-grained control of the payment gateway for developers. I think it would also increase usage to an extent.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidgewirtz/seamless-donations/issues/7#issuecomment-962004104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVLE4XGRIRCT7NFTPUTRFLUKP3ZBANCNFSM5HK77WOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.