- 04 Jun, 2024 3 commits
-
-
Rafael Monnerat authored
Deduplicate script to get shadow user from context, now it relies on base_category_list configured in the role, and output all needed roles (Assignee and Auditor), so the Role configuration can filter it properly. This change makes no change on output result for the configured roles.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
See merge request nexedi/slapos.core!629
-
- 03 Jun, 2024 32 commits
-
-
Rafael Monnerat authored
No need to always set those properties, while no accounting is setup. Let the project introduce it if they rely on those payment modes.
-
Rafael Monnerat authored
Use subscription_list to calculate Balance amount for the ledger, currency, section from the list. It keeps consistency with the Entity_createDepositPaymentTransaction implementation.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
For now we rely on Base_createExternalPaymentTransactionFromOutstandingAmountAndRedirect for pay subscriptions for customer organisation because it requires update security and review the procedure and how UI will handle it. So we invoke directly Entity_createDepositPaymentTransaction with the organisation's subscriptions.
-
Rafael Monnerat authored
Use acquisition properly.
-
Rafael Monnerat authored
Same as Sale Invoice Transaction to generate payments.
-
Rafael Monnerat authored
Merge Deposit and Invoice payments under the same (or nearly similar) implementation.
-
Rafael Monnerat authored
Reimplement Entity_addDeposity by creating deposit from a list of subscription Ensure will transfer deposit to the proper organisation/person, ledger and currency. Payment Transaction must preserve website context otherwise it will fail over redirections later on.
-
Rafael Monnerat authored
It must lead to "Contact us" page. Allow us use accounting for other configurations, so it allow the user generate a payment and contact us to make the wire transfer or pay from some non-automated system.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Since payzen/wechat depends on specific currency, so keep default implementation generic, so it allows the user get a contact us message, so it permits the system use wire transfer or non-automatic payments, to proceed with payment.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
whenever the tests need it.
-
Rafael Monnerat authored
This should be set from the test or by the user while configure payzen.
-
Rafael Monnerat authored
It is more accurate to include testing data via test (on setup), otherwise it can lead to enable undesired configurations and eventually include testing data in production. If required, use a separated bt5 for include specific testing data.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Since it should handle multiple *_section.
-
Rafael Monnerat authored
Display a blank page is disturbing in general, so at least show a loading bar with some message.
-
Rafael Monnerat authored
The currency as parameter is useful for bootstrap region specific tests later on, and allow reuse this script to bootstrap dev environment in EUR or CNY to test payments.
-
Rafael Monnerat authored
Entity is more accurate since it could be used on B2B context later.
-
Rafael Monnerat authored
Make it reusable so that we can inspect the balance of the user for other purposes slapos_accounting: Entity_getDepositBalanceAmount
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Remove non required code around the topic.
-
Rafael Monnerat authored
Include checkInstanceAllocationWithDeposit on tests to checks the use case whenever the pay the deposit is required to allocate. Update tests to pay precise deposit, since a more accurate use case is check and pay a proper amount of deposit and check if the steps are working properly (ie.: Subscription request stays in submitted)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
- 29 May, 2024 1 commit
-
-
Łukasz Nowak authored
In some conditions there is no name attribute on tap, so allow real fallback to interface name.
-
- 27 May, 2024 4 commits
-
-
Rafael Monnerat authored
If the instance empty dont display green but red, indicating something is wrong. Clean up and minimize the configuration a bit more, so it is easy to navigate.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This allows, in case of error, verbose what to do
-