Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Billing refactoring #3

Merged
merged 96 commits into from Mar 23, 2013

Conversation

Projects
None yet
8 participants
Owner

inspiran commented Mar 23, 2013

No description provided.

cordoval and others added some commits Jan 19, 2013

@cordoval cordoval bootstrap mapping for billing agreement 8d10d3a
@cordoval cordoval before adding relations 938ff8f
@cordoval cordoval finish BillingAgreement mapping c0f0dc8
@iampersistent iampersistent change the name of the manager to all inclusive c20e1be
@iampersistent iampersistent add initial test class 50ac54e
@iampersistent iampersistent start process Order cc178ce
@iampersistent iampersistent just a little work to get started c2c8668
@iampersistent iampersistent Merge pull request #1 from immersivelabs/feature/manager
Feature/manager
4094a77
@cordoval cordoval advance on billing manager be31b98
@theodorDiaconu theodorDiaconu billing manager updates dbc899e
@jcroll jcroll Created gateway b5279a9
@jcroll jcroll Created Gateway 78e542c
@jcroll jcroll Created Gateway interface 42e8a6b
@theodorDiaconu theodorDiaconu updates f1006b9
@iampersistent iampersistent update to mapping, starting to refactor createBillingAgreements 57baa2f
@iampersistent iampersistent update to mapping, starting to refactor createBillingAgreements 9c8855d
@jcroll jcroll Fleshed out manager and gateway c2d0acf
@jmgtan jmgtan Add fetch for eligible billing agreement batches
Added an empty function for processing of these billing agreements
faf0ff1
@cordoval cordoval Merge pull request #2 from immersivelabs/feature/recurring-billing
[RFC] Initial code for recurring billing
e20fa10
@iampersistent iampersistent expand billing gateway to work with billing requests also 6f56760
@iampersistent iampersistent update BillingManager __construct to match changes 388a7f9
@iampersistent iampersistent update mapping for change in numberCyclesBilled naming aa536f8
@iampersistent iampersistent updates to get tests working 1038e49
@theodorDiaconu theodorDiaconu updates on billing manager and gateways 9fb973a
@theodorDiaconu theodorDiaconu update billing manager e187c31
@cordoval cordoval Merge pull request #3 from immersivelabs/feature/TheoBilling
[RFC] update billing manager
41319c3
@theodorDiaconu theodorDiaconu modified billing manager to work with recurring a3568c7
@theodorDiaconu theodorDiaconu persisting billing agreements + added cycles interval 68dea08
@theodorDiaconu theodorDiaconu added return to finding billing agreement for item 0b480f5
@theodorDiaconu theodorDiaconu added doFindOneBy 29258ca
@theodorDiaconu theodorDiaconu update biling manager and agreement relations ce1c8df
@jmgtan jmgtan Added test case
Added managers and gateways for BillingInvoice
9b6cd34
@iampersistent iampersistent start implementing changes in setting up billing agreement 6305c40
@cordoval cordoval Merge pull request #4 from immersivelabs/feature/manager
[WIP] start implementing changes in setting up billing agreement
0b2e755
@cordoval cordoval Merge pull request #5 from immersivelabs/feature/invoice
Added test case
90c23cc
@iampersistent iampersistent fixes to get agreements to create correctly c897144
@theodorDiaconu theodorDiaconu updated find billing for item to work with orderItems a7e9a13
@iampersistent @jmgtan iampersistent + jmgtan change BilingInvoice mapping to BIllingRequest
Removed the trigger event once the invoice has been paid, since product has already been activated by then
Added tests for BillingInvoiceManager
Update BillingInvoiceMgr to match changes in BillingInvoice to BillingRequest
Fixed unit test bootstrap
Refactoring BillingInvoiceManager to use BillingRequest
f4f282f
@cordoval cordoval Merge pull request #6 from immersivelabs/feature/invoice
[RFC] Invoice Integration
7237381
@jcroll jcroll Changed Bill Agreement to Pricing Set M:1 7fe1710
@iampersistent iampersistent cleanup, use Pimple based PricingContext 4cb9b21
@iampersistent iampersistent update mapping for BillingAgreement and BillingRequest 02782ff
@theodorDiaconu theodorDiaconu added paymentGateway to BA 6a56aab
@theodorDiaconu theodorDiaconu made paymentGateway nullable 513e6a0
@theodorDiaconu theodorDiaconu added find by partner 401e8f5
@theodorDiaconu theodorDiaconu updated on billing manager, added getmonthly total f515569
@iampersistent iampersistent add contexts to deal with different payment types ff1e553
@iampersistent iampersistent updates to generate billing requests c0e741a
@janmtan janmtan Merge pull request #8 from immersivelabs/feature/manager
[RFC] add contexts to deal with different payment types
b0d6092
@iampersistent iampersistent fixes in manager concerning the partner c8b55cc
@iampersistent iampersistent update creating billing agreement to use context to set a specific du…
…e date
20b892b
@jmgtan jmgtan Recurring payments 5d3cbe4
@cordoval cordoval Merge pull request #9 from immersivelabs/feature/recurring
[RFC] Recurring Billing
20ce9c8
@jmgtan jmgtan Added the inverse relationship for billing agreement and item
Added remove license from the billing agreement
Added recreation of the billing agreement
a9b802f
@cordoval cordoval Merge pull request #10 from immersivelabs/feature/remove-add-license
[RFC] BillingAgreement Adjustments
19c22c3
@jcroll jcroll Added findAllBillingRequests method 6b71810
@jcroll jcroll Added periodStart and periodEnd to BillingRequest edfbb3e
@jmgtan jmgtan Changed the period to nullable 0011b57
@cordoval cordoval Merge pull request #11 from immersivelabs/feature/billing-adjustments
[RFC] Billing Adjustments
db69805
@theodorDiaconu theodorDiaconu small fixes e78ce6f
@jmgtan jmgtan Fixed for consistency 2a977b9
@cordoval cordoval Merge pull request #12 from immersivelabs/feature/resume-license
[RFC] Resume License
25eed02
@jmgtan jmgtan Added an optional parameter check if the start_billing is present fb0d8f0
@jmgtan jmgtan The log entry would now be created upon creation of the invoice so th…
…at it would appear in the billing history

Added proper interval from the order items to the billing request
33a9938
@cordoval cordoval Merge pull request #13 from immersivelabs/feature/CARA-1252
[RFC][CARA-1252] Licence created through MCP need to have a expiration/renewal date
aec5dd7
@cordoval cordoval Merge pull request #14 from immersivelabs/fix/CARA-1255
[RFC][CARA-1255][CARA-1196] Missing billing history and invalid billing period
a95f241
@theodorDiaconu theodorDiaconu updated billing manager getMonthlyTotal d8c3955
@beliveyourdream beliveyourdream added order to invoice c254509
@cordoval cordoval Merge pull request #15 from immersivelabs/fix/missingOrderFromInvoice
added order to invoice
69d65df
@theodorDiaconu theodorDiaconu CARA-1334, fixed the monthly total problem 62596ac
@cordoval cordoval Merge pull request #16 from immersivelabs/fix/CARA-1334
[RFC][CARA-1334] fixed the monthly total problem
2e79fe7
@jmgtan jmgtan Added check if no active billing agreement can be retrieved 977d4cb
@cordoval cordoval fix Jans code 80a8375
@cordoval cordoval Merge pull request #17 from immersivelabs/fix/billing-agreement
[RFC] Fixed Billing Agreements when Upgrading Paused Licenses
0e2d1a5
@cordoval cordoval fix docblock 7cf1284
@cordoval cordoval adjust query for nextBillingDate Billing Agreements and calculating t…
…otal monthly in the future
c92c59b
@jmgtan jmgtan Removed sendNotification a7ac99e
@cordoval cordoval Merge pull request #18 from immersivelabs/fix/remove-sendNotification
[RFC] Removed sendNotification
1d58341
@beliveyourdream beliveyourdream removing this event dispatcher because the activation will take place…
… when the order is finished in vespolinaOrderListener
4d93602
@theodorDiaconu theodorDiaconu fix the monthly total to display the amount only for active billing a…
…greements
d7a9b0e
@cordoval cordoval Merge pull request #19 from immersivelabs/fix/CARA-1334
[RFC] fix the monthly total to display the amount only for active billing agre...
214391a
@inspiran inspiran Initial clean up for billing e15ba04
@inspiran inspiran Added an OrderHandler to deal with order billing 74ff9d8
@inspiran inspiran Initialization of a billing agreement has been moved from the manager…
… to a handler
c66b8e0
@inspiran inspiran Added a default billing request generator and groundwork for a billin…
…g process interface
bd48102
@inspiran inspiran Updated billing manager test 7817807
@inspiran inspiran First test passes: a billing agreement is created for a recurring order 82890ac
@inspiran inspiran Added a default payment subprocess to the billing process 9ecd10a
@inspiran inspiran Removed the billing invoice manager aba5905
@inspiran inspiran Implemented generate & generateNext methods 6dffa55
@iampersistent iampersistent use 1.0.x V core 1c6d95c
@iampersistent iampersistent use TotalValueELment to avoid Dough dependency in tests e162a2a
@iampersistent iampersistent fixes on OrderHandler 6d11fbd
@inspiran inspiran Merge pull request #1 from WriteOrRead/master
updates to get BillingManager test passing
d8aaf43
@inspiran inspiran Added code to determine the next billing date 23fda73
@inspiran inspiran Billing request generation works now for monthly cycles, decoupled th…
…e actual payment in the default billing process with an event
d2b0b7b

@iampersistent iampersistent added a commit that referenced this pull request Mar 23, 2013

@iampersistent iampersistent Merge pull request #3 from inspiran/master
Billing refactoring
6aa5eb3

@iampersistent iampersistent merged commit 6aa5eb3 into vespolina:master Mar 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment