{"action":"created","issue":{"url":"https://api.github.com/repos/humanmade/wp-stripe/issues/11","labels_url":"https://api.github.com/repos/humanmade/wp-stripe/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/humanmade/wp-stripe/issues/11/comments","events_url":"https://api.github.com/repos/humanmade/wp-stripe/issues/11/events","html_url":"https://github.com/humanmade/wp-stripe/issues/11","id":30274330,"number":11,"title":"Plan-based payments/Recurring payments/Fixed cost payments.","user":{"login":"tchalvak","id":23353,"avatar_url":"https://avatars.githubusercontent.com/u/23353?v=3","gravatar_id":"","url":"https://api.github.com/users/tchalvak","html_url":"https://github.com/tchalvak","followers_url":"https://api.github.com/users/tchalvak/followers","following_url":"https://api.github.com/users/tchalvak/following{/other_user}","gists_url":"https://api.github.com/users/tchalvak/gists{/gist_id}","starred_url":"https://api.github.com/users/tchalvak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchalvak/subscriptions","organizations_url":"https://api.github.com/users/tchalvak/orgs","repos_url":"https://api.github.com/users/tchalvak/repos","events_url":"https://api.github.com/users/tchalvak/events{/privacy}","received_events_url":"https://api.github.com/users/tchalvak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/humanmade/wp-stripe/milestones/1","html_url":"https://github.com/humanmade/wp-stripe/milestones/Salt","labels_url":"https://api.github.com/repos/humanmade/wp-stripe/milestones/1/labels","id":636574,"number":1,"title":"Salt","description":"","creator":{"login":"willmot","id":308507,"avatar_url":"https://avatars.githubusercontent.com/u/308507?v=3","gravatar_id":"","url":"https://api.github.com/users/willmot","html_url":"https://github.com/willmot","followers_url":"https://api.github.com/users/willmot/followers","following_url":"https://api.github.com/users/willmot/following{/other_user}","gists_url":"https://api.github.com/users/willmot/gists{/gist_id}","starred_url":"https://api.github.com/users/willmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmot/subscriptions","organizations_url":"https://api.github.com/users/willmot/orgs","repos_url":"https://api.github.com/users/willmot/repos","events_url":"https://api.github.com/users/willmot/events{/privacy}","received_events_url":"https://api.github.com/users/willmot/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2014-04-22T10:14:24Z","updated_at":"2014-11-16T18:33:35Z","due_on":"2014-04-25T07:00:00Z","closed_at":null},"comments":2,"created_at":"2014-03-27T05:13:56Z","updated_at":"2015-12-22T15:14:18Z","closed_at":null,"body":"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.\r\n\r\nWhat 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.\r\n\r\nI also found the use of the modal window troublesome overall, since mobile browsers totally stop working when in contact with the modal window.\r\n\r\n@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."},"comment":{"url":"https://api.github.com/repos/humanmade/wp-stripe/issues/comments/166642883","html_url":"https://github.com/humanmade/wp-stripe/issues/11#issuecomment-166642883","issue_url":"https://api.github.com/repos/humanmade/wp-stripe/issues/11","id":166642883,"user":{"login":"tchalvak","id":23353,"avatar_url":"https://avatars.githubusercontent.com/u/23353?v=3","gravatar_id":"","url":"https://api.github.com/users/tchalvak","html_url":"https://github.com/tchalvak","followers_url":"https://api.github.com/users/tchalvak/followers","following_url":"https://api.github.com/users/tchalvak/following{/other_user}","gists_url":"https://api.github.com/users/tchalvak/gists{/gist_id}","starred_url":"https://api.github.com/users/tchalvak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchalvak/subscriptions","organizations_url":"https://api.github.com/users/tchalvak/orgs","repos_url":"https://api.github.com/users/tchalvak/repos","events_url":"https://api.github.com/users/tchalvak/events{/privacy}","received_events_url":"https://api.github.com/users/tchalvak/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T15:14:18Z","updated_at":"2015-12-22T15:14:18Z","body":"I'm probably going to re-embark on this (trying to get wp-stripe to work with subscription/plan based payment) in the near future."}}