Code Monkey home page Code Monkey logo

wp-stripe's Introduction

Warning: This is the bleeding version. Be sure to run on staging before production.

Introduction

Stripe is a great payment solution already disrupting the market for receiving payments online. It's built by developers and really looks awesome.

Development Purpose

  • Provide Charities & Non-Profits with a simple mechanism for receiving payments online.

Development Goals

  • Receiving Donations - 100%
  • Create a complete "Project" feature (i.e. associating individual donations to projects, showing funding status and more) - 30%
  • Recurring Donations - 0%

Development No No's

  • Creating an E-Commerce solution. There are plenty of free & premium plug-ins out there filling that gap.

Pull Requests

  • Certainly open to any enhancements. For larger changes, maybe you want to open an issue first and check with me as to how we can best implement it, thanks!

Support

We can't actually help you with CSS, XHTML, PHP & JS so there's a certain degree of self-reliance that's required if you'd like to implement. It doesn't mean I won't guide you on the right path, but we'd like to keep the discussions relevant to bugs, enhancements and features.

wp-stripe's People

Contributors

alexblicharz avatar gegere avatar mrjameshamilton avatar noeltock avatar ruiokada avatar willmot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-stripe's Issues

Recurring Payments

Hey Noel,

I'm sure you've thought about this and have a few opinions on how you want this accomplished. One of the major things that concerns me is allowing the user to cancel a plan. This could be accomplished by:

  1. Making them create a login/password
  2. Emailing them a private link to view/edit/cancel their payment.
  3. Other?

The obvious downside to (2) is that the link could get lost in their email and the obvious downside in (1) is complexity. I'm just throwing my thoughts around, so let me know what you're thinking!

Johnathan

Plan-based payments/Recurring payments/Fixed cost payments.

This is a big omission in the system that I'm sure a lot of people want: The ability to take fixed payments, like "$50.00 to donate a cow" and also "$20.00 for monthly subscription". Stripe allows this quite well via "plans", which I actually implemented through the wp-stripe plugin recently. I'm not totally happy with how I had to implement it, though.

What I did required passing parameters through the iframe url for the modal window using custom shortcodes to create different plan buttons, like "sign up for gold plan" and the like. Then each of those buttons passes parameters to the link or to the modal window iframe that specify which plan is being requested. I also (a hack) passed the display-only price, though in retrospect the price-of-each-plan should probably be retrieved from the stripe api via a curl call in the script, complete with all the page-load-slowdown that is likely to entail. Overall, it's not an elegant solution at the moment, though it allows use of plans, so it does what I needed it to.

I also found the use of the modal window troublesome overall, since mobile browsers totally stop working when in contact with the modal window.

@noeltock @mrjameshamilton I will create a branch so that I can show my work on this so far, but in the meantime do you guys have thoughts on ways to improve plan-based fixed-price and subscription type payments? I could especially use some brainstorming on how specifying that plan X is being requested should be most gracefully passed to the final payment form, as currently I have to do this as a url parameter to the iframe, specified by shortcodes for wp stripe.

"Display on Website" checkbox still appears on form when Recent Widget is disabled

Hi, thanks for a great plugin!

The one issue I have is that even when the Recent Widget is turned off in the settings, the checkbox "Display on Website" still appears on the donation form. That is confusing people, who are worrying that their name will be shown publicly on the site. It would be great if when the Recent Widget is turned off in the settings, the checkbox on the form would be hidden as well.

Philip

On mobile: Modal window approach causes a "cannot zoom out" bug for Safari on iPhone.

When you open the modal window in an iphone in iOS 7, there is a problem with zooming that cuts off much of the form, and it also doesn't allow pinching out to zoom out, for whatever reason. The result you get is a zoomed-in, cut-off form that you can't zoom out. (see attached iphone screenshot for an idea of what I mean)

I'm still looking into solutions for this like using a viewport meta, or the like.

modal_zoom_bug

Bug with commas

Commas don't work at all. $1,900 or $1,900.00 will charge $1...

Only way to succesfully charge $1,900 is to enter '1900'

WP_STRIPE_KEY is undefined at plugin activation

It's only a warning until the API options are configured, but when first activated we get the following annoying notice message:

screen shot 2014-08-18 at 3 31 14 pm

This is because the constant is only defined after the api options have been set

if ( ! empty( $options['stripe_api_switch'] ) ) {

    if ( $options['stripe_api_switch'] === 'Yes') {
        Stripe::setApiKey( $options['stripe_test_api'] );
        define( 'WP_STRIPE_KEY', $options['stripe_test_api_publish'] );

    } else {
        Stripe::setApiKey( $options['stripe_prod_api'] );
        define( 'WP_STRIPE_KEY', $options['stripe_prod_api_publish'] );
    }
}

Undefined function _e()

Getting the following error when using iframe.

PHP Fatal error: Call to undefined function _e() in /Users/egoens/corvus/circlecityrainbarrels/ccrb/wp-content/plugins/wp-stripe/includes/stripe-iframe.php on line 8

Fantastic! thnx for plugin e.t.a. on projects?

Saw the tweet, so installed and is running perfectly. What a great addon plugin.
I saw you mentioned being able to assign payments to projects, is that project already in the works?

One of my next projects requires setting up 'projects' where people can donate to 'mens-club, womens-club, kids-club', individually. Would be nice to use stripe as the gateway to donate to each product and thus display relevant info for each project.

Update readme

To reflect change of ownership, bump tested to version etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.