Editor - More payments methods
This is a modal that is opened for configurations of payment methods in a business
and it opens with the function showPaymentsMethodSettings(paymethod)
in the view theme/views/editor/payments-methods.html
Main models
fields
deal.fixed_usage_fee
: just for stripe connect and superadmins
-deal.percentage_usage_fee
: just for stripe connect and superadmins
Utility Functions
stripeConnect($event)
: serves to connect directly with stripeupdatePaymethod(paymethod)
: Update a business's payment methodsupdateAppFee()
: it serves to configure the percentages of stripe connect of the business and if it is an administrator.
Example of base theme
stripeConnect($event)
only for stripe connect- fields section If something changes here, activate the function
updatePaymethod(paymethod)
- Especial fields for stripe connect if something changes here, activate the function
updateAppFee()
deal.fixed_usage_fee
deal.percentage_usage_fee
Updated almost 6 years ago