GithubHelp home page GithubHelp logo

Comments (3)

areski avatar areski commented on July 17, 2024

it s important that we find a rate assigned to the package offer, this is how a2billing works.
Edit a package offer and you will see you can assign rate to it.

FYI, you can use dpaste or gist (https://gist.github.com/) to provide a patch.

from a2billing.

amontalban avatar amontalban commented on July 17, 2024

Hi Areski,

Yes I added a rate to the package offer, however the value of the $id_rate variable is configured with the ratecard ID instead of the rate ID and therefore it couldn't find the rate to provide free minutes. I will try to reproduce this in the git version because I am using 1.9.3 in production.

Let me know if you need any test on my side.

Thanks!

from a2billing.

areski avatar areski commented on July 17, 2024

$id_rate = $this -> ratecard_obj[$K][6];
I agree that this contain the cc_ratecard.id, but this from the UI is the rate.id

I know the tables have wrong names and this software is a mess :)

from a2billing.

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.