![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@prestashopcorp/billing-cdc
Advanced tools
A component allowing easy integration of Prestashop Billing component, to create SaaS module.
This library allows you to display a form to register your customers subscriptions.
<body>
<div id="ps-billing"></div>
<script src="https://storage.googleapis.com/prestashop-vuejs-cdn/billing/0.0.1/ps-billing.min.js"></script>
<script>
const context = {
// see bellow information about context
}
psBilling.PsBillingCDC({context}).render("#ps-billing")
</script>
</body>
Here is the data you need to pass through the context variable
Attribut | Type | Value | Example |
---|---|---|---|
emailSupport | string | Email to contact support (required) | admin@prestashop.com |
shopUuid | string | Uuid of your shop (required) | Mn6ou86uATRBrtYjFUnkZf6Fc5e2 |
moduleName | string | Technical name of your module (required) | my-module |
accountApi | string | API to retrieve your Prestashop Account. You can get it dynamically in window.contextPsAccounts.adminAjaxLink (required) | https://my-shop.com/ps-admin/index.php?controller=AdminAjaxPsAccounts&ajax=1&token=1247657657657 |
import { PsBillingCDC } from '@prestashopcorp/billing-cdc/dist/bundle.umd';
Vue.component('app', {
data: function () {
return {
context: {}
}
},
template: '<div><ps-billing :context="context"/></div>' ,
components: {
'ps-billing': PsBillingCDC.driver('vue', Vue)
}
});
var vm = new Vue({
el: '#container'
});
FAQs
Cross domain component for the billing UI app
The npm package @prestashopcorp/billing-cdc receives a total of 468 weekly downloads. As such, @prestashopcorp/billing-cdc popularity was classified as not popular.
We found that @prestashopcorp/billing-cdc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.