Giter Club home page Giter Club logo

zfr-cash's People

Contributors

bakura10 avatar gabrielsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

finbarrmccarthy

zfr-cash's Issues

Doctrine\DBAL\Schema\SchemaException

When running
./vendor/bin/doctrine-module orm:validate-schema
I get the following errors;

  • [Mapping] FAIL - The entity-class 'ZfrCash\Entity\SubscriptionDiscount' mapping is invalid:
  • [Doctrine\DBAL\Schema\SchemaException]
    There is no column with name 'key' on table 'cash_plan_metadata'.

Is it correct to amend "ZfrCash.Entity.Subscription.dcm.xml"
from
<one-to-one field="discount" target-entity="ZfrCash\Entity\SubscriptionDiscount">

to
<one-to-one field="discount" target-entity="ZfrCash\Entity\SubscriptionDiscount" inversed-by="subscription">

AND CHANGE "ZfrCash.Entity.PlanMetadata.dcm.xml"

from
<field name="key" column="interval" type="string" />

to
<field name="key" column="key" type="string" />

One purchases and retaining a record of them.

Heya,

Kickass module, but i have a slight issue, i need to provide content that is either available via monthly subscription. Something that zfr-cash already handles perfectly, but it also needs to be available via one time purchases. So i simple need to create an association between a BillableObject and a CustomerObject without using a subscription.

Something tells me the initial answer is going to be PR are welcome, but do you have any suggestions before i look into it ?

Examples of how to use the CustomerService

Hello, I was wondering if you could help with an example of how to use the CustomerService. I am stuck with implementing ZfrCash\Repository\CustomerRepositoryInterface.

in my customer controller I have;
use ZfrCash\Service\CustomerService;
...
$em = $this->getEntityManager();
$customer = new CustomerService($em,$customerRepository,$stripeClient);

The question is how do I use $customerRepository ??

Thank you.

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.