Giter Site home page Giter Site logo

Set a minimum donation amount about kodi-tv HOT 6 CLOSED

yol avatar yol commented on July 18, 2024
Set a minimum donation amount

from kodi-tv.

Comments (6)

pkscout avatar pkscout commented on July 18, 2024

I've figured out a way to do it for Stripe. The PayPal form is going to take a bit because, ironically, it's a simpler form. It's going to take me a bit to get the dev environment running on my laptop again (I haven't launched it practically since the site launched), but I'll try to get to this in the next few weeks.

from kodi-tv.

yol avatar yol commented on July 18, 2024

No worries! Thanks for looking into it :)

from kodi-tv.

pkscout avatar pkscout commented on July 18, 2024

There is now a fix in staging that will not allow a donation below $5 USD to Stripe or PayPal. It dynamically updates the threshold based on currency (i.e. if you change to Yen the minimum donation is 500 Yen). You can take a look at it at http://staging.kodi.tv

from kodi-tv.

pkscout avatar pkscout commented on July 18, 2024

Just FYI, the recurring PayPal form will give you an error at the PayPal dev site when you submit a recurring donation. The one time submission works fine. It's been like that since the beginning in staging. Both work fine in production. I have no idea why it doesn't work in staging.

from kodi-tv.

ProfYaffle avatar ProfYaffle commented on July 18, 2024

Without testing a donation, the Donate button does indeed appear to scope in and out based on selected numeric value and currency.

Triggers on integers and decimals (e.g. 4.99 doesn't work, 5 does, 5.00 does).

Ignores leading zeroes, so 00005 == 5 == 5.00.

from kodi-tv.

pkscout avatar pkscout commented on July 18, 2024

Fixed with 7a5f1ae back in November. Closing as complete.

from kodi-tv.

Related Issues (20)

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.