Jump to content
benbyf

PaymentStripeIntents

Recommended Posts

Example implementation:

1078496738_Screenshot2019-07-1913_58_12.thumb.png.f3632f343645353d869b87ac61730a0c.png

Info:

So this is very much an ALPHA version of what I hope turns into a swiss armory knife payment module. Currently you are able to take payments with the payments form or cross browser payments button (Apple Pay etc).

Please read implementation details here and consider contributing https://github.com/benbyford/PaymentStripeIntents

TODO:

  • Add subscription functionality
  • Add customer functionality
  • More testing and code clean up
  • More usage examples
  • anything else?
  • Like 11
  • Thanks 1

Share this post


Link to post
Share on other sites

More implementations

Ajax modal version:

279013734_Screenshot2019-07-3110_20_44.thumb.png.b3354264b210d7f432b870968826f2c6.png:

New page version:

914352247_Screenshot2019-07-3012_52_13.thumb.png.dd53c3bc18a46488fdb07db1c1ddba44.png

 

 

 

  • Like 3

Share this post


Link to post
Share on other sites

@benbyf Hi Ben. I've been trying out this module and modified the form for use with the Padloper shopping cart. (I was using a different Stripe module but I needed to upgrade to one that uses Intents). All is working well, but I've just realised that I've got a lot of 'incomplete' transactions listed in my Stripe Admin panel. I see the cancelIntent() function in the module, but I'm not sure when/how I should call this. Could I use this to get rid of my backlog of incomplete transaction? Sorry if I'm  being thick, but I guess I don't quite understand the Stripe Intents concept. Thanks.

Share this post


Link to post
Share on other sites
43 minutes ago, strandoo said:

@benbyf Hi Ben. I've been trying out this module and modified the form for use with the Padloper shopping cart. (I was using a different Stripe module but I needed to upgrade to one that uses Intents). All is working well, but I've just realised that I've got a lot of 'incomplete' transactions listed in my Stripe Admin panel. I see the cancelIntent() function in the module, but I'm not sure when/how I should call this. Could I use this to get rid of my backlog of incomplete transaction? Sorry if I'm  being thick, but I guess I don't quite understand the Stripe Intents concept. Thanks.

Great to hear its working for you. I have the same issue but its nothing that is wrong per say. Everytime a intent is created it creates an incomplete transaction on your account which is then followed by a completed transaction or failed depending on the user suceeding in the transaction. If you can work out how to get around this let me know, but I thought it was just a quirk of the new way of working.

Share this post


Link to post
Share on other sites

Yeah, that's what I thought. While I was building the site, I hit the Stripe form page a lot (testing the layout, shopping cart, etc) then back again. I think I must have generated quite a few incomplete transactions! Once people start using the site, I don't think it will be a big problem. Maybe I'll just disable the intents during development in the future. But I'll probably look into a way to delete them via the API. I'll post my results if I get any. Thanks for the module.

Share this post


Link to post
Share on other sites

Hi Ben, I've been using another Payments module. Am I understanding correctly that yours does not depend on the PaymentModule?

If not I can uninstall the unused modules ...

 

Thanks

Share this post


Link to post
Share on other sites
10 hours ago, Rob(AU) said:

Hi Ben, I've been using another Payments module. Am I understanding correctly that yours does not depend on the PaymentModule?

If not I can uninstall the unused modules ...

 

Thanks

It does, but doesnt really need to. it uses the PaymentModule for inhereitance of structure. As my module doesn't totally adhere to the render structure it might be worth striping out the dependancy at some point.

Share this post


Link to post
Share on other sites

Anyone done much with plans/products/subscriptions? going round in circles abit. looking to create a customer, add and plan/subscription, and charge them for the first installment, but cant seem to work out the API flow to put it all together 😞

Share this post


Link to post
Share on other sites

Hello @benbyf,

Do you plan to update and maintain this plugin?

Thanks,

Andrei

  • Like 1

Share this post


Link to post
Share on other sites

@B3ta possibly. what where you thinking?

I’m mostly interested in input to help me, as it’s a bit rough Around the edges at the minute and wondered if anyone had feedback or PRs.
I’ve recently done a lot more on it on a clients version which I’m looking to roll in soon, but am looking for enthusiasm for it so it’s not wasted work.

Share this post


Link to post
Share on other sites

I usually avoid picking up on Alpha/Beta plugins since everybody can spin a plugin with a cool idea and list it on a github. 
The lack of updates from developer usually don’t inspire too much trust and most of the time the other developers tend to create their own plugins. 
With this being said, probably there are 100 versions of stripe payment gateways plugins on developers private repos. And that’s bad!!!

Processwire and the whole community is AMAZING, but the only thing that I think that is missing... is the part where developers start to create, sell and maintain their plugins.  

By creating a premium PW plugin marketplace the following scenario will happen:

1. @ryan will/can receive a comision on each sale. This will be a well deserved token of appreciation for all his amazing work invested to build and maintain PW.
2. Plugin creators will be constantly motivated to build, maintain compatibles and improve the quality of their plugins.
3. The developers that will pay and use the premium plugins and they will save thousands in development time. Probably their clients will be happier with smaller project fees and shorter delivery times.

I’m suggesting this since I’m always looking in Craft cms plugin marketplace and I have the feeling that they have a plugin for everything. 
Some are silly some are amazing... i know..
But in the moment you browse it, you always have the feeling that the only thing you have to do in order to create a big project is just to put the puzzles pieces together. 

I’m paying for some premium plugins that Ryan built. And i would happily  pay for SEO, shop/payments, reservations, crm, marketing and integrations with other widely use systems.  

 

  • Like 2

Share this post


Link to post
Share on other sites

Thanks @B3ta -  I feel like yours comments are somewhat off topic from this module specifically, so keen to get your feedback there if you have any. 
however, I do concur you thoughts on premium market place and there is actually a couple, one of which I started building myself then got busy and never got finished. It would be easier if we could all just use one central place, and easier for new PW users.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...