Code Monkey home page Code Monkey logo

s2-stripe's People

Contributors

juanvillegas avatar

Stargazers

 avatar  avatar

Watchers

 avatar

s2-stripe's Issues

Unable to change Settings

Hi Juan

I am trying to test the s2 Stripe payment system, however, in the plugins list in admin the S2 plugin shows as RED, Also, when I try change the settings to the TEST API and save I get a 404 error ... do you know why this may happen ?

Regards
Richard

PHP Errors found by Query Monitor

Juan,

This is looking really good already! But I have found the following errors using Query Monitor:


Undefined offset: -1

Location: wp-content/plugins/s2-stripe-master/s2-stripe.php:672

Call Stack: S2_Stripe::getStripePlans()
S2_Stripe->build_options_view()
do_action('settings_page_s2-stripe')

Plugin: s2-stripe-master


Trying to get property of non-object

Location: wp-content/plugins/s2-stripe-master/s2-stripe.php:672

Call Stack: S2_Stripe::getStripePlans()
S2_Stripe->build_options_view()
do_action('settings_page_s2-stripe')

Plugin: s2-stripe-master


Undefined index: map

Location: wp-content/plugins/s2-stripe-master/views/options.php:102

Call Stack: S2_Stripe->build_options_view()
do_action('settings_page_s2-stripe')

Plugin: s2-stripe-master

Hard coding in s2-stripe.php

Thanks for the plugin! There is a url hard coded into the custom parameter. If you replace with your own, things work good.

why does the Stripe payments gateway for S2 need a Paypal IPN?

This is a question I got via email from a user/developer, that other people may find it interesting. Below is my reply:

pleased to meet you. amm well the Paypal's IPN interface is what S2 Member authors have suggested to use to implement a custom payment gateway. And its indeed very simple once you get into the details of how it works.

To make it short: the S2 Stripe is a layer between S2 Member IPN Interface and your Stripe account. When the user pays using the form, the payment is attempted first in Stripe (using its api of course). If the payment succeeds, the plugin uses the IPN interface to "simulate" a subscription event on S2 Member. This way, as long as S2 Member is aware of, the result is exactly the same as if the user had used the provided paypal forms/buttons!

The only difference is that the S2 Member we created will have a lifelong membership. But in your Stripe dashboard, the customer will have whatever plan he had subscribed too (monthly, weekly, whatever). Suppose its monthly: at the end of the month, Stripe will attempt to charge the customer's card: if it fails several times (eg: no funds), it will ping S2 Stripe plugin to notify that the user should be demoted. And the S2 Member is therefore demoted to the free membership.. completing the cycle

one-time payments

Hi Juan,
is there a way to use your plugin fr one-time payments, not Subscriptions/Plans?

Cheers!

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.