Community
Start Self-Service Portal passing arguments other the customerId
I would like to pass the customers email that I already have to the customer portal. This way Billsby doesn't need to ask the customer for his email again.
I had something like this in mind:
`<a href="javascript:void(0)" data-billsby-type="account" data-billsby-customer-email="[Customers Email]">Manage account</a>`
Posted by Vadim over 1 year ago
Error while using input fields in card tokenizer
I am using card tokenizer to embed billsby but when I use the input field instead of div I got an error. So could you please help me out with this? I want to use my own customize input box.
Posted by Uzair over 1 year ago
Create Subscription API Failed
While calling the subscription endpoint https://public.billsby.com/api/v1/rest/core/companyDomain/subscriptions I am getting this error
"errors":[
0:{
"code":"MODEL_VALIDATION"
"name":"couponCodes.planId.couponCodes"
"description":"Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Billsby.Controllers.Subscriptions.InputModels.CouponCodeInputModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'couponCodes.planId', line 1, position 416."
}
It's when I pass the planId.
Can you guide me why this is happening?
Posted by Uzair over 1 year ago
Programmatic usage instead of embedded code
Hi.
Is there a programmatic way to trigger Billsby UI (e.g., subscription) without relying on DOM scanning?
Storing configuration data in `window` and using `data-` attributes is ugly and error-prone when developing a Web app, say, in React.
Moreover, there is something one cannot do easily with this approach, say, tracking an analytics event when the customer clicks on the button, since the `onClick` handler is replaced.
For the moment, the best way is to use one's own components, which in turn trigger a synthetic `onClick` event on visually-hidden DOM nodes with Billsby attributes.
It would be much more natural to have a JavaScript API, which matches closely the `data-` attributes, and also takes the extra data as argument, instead of looking in `window`.
Best,
Massimo, for DoYouNotes
Posted by Massimo Cairo over 1 year ago
Showing pre-filled form fields during subscription
Hi.
I would like to show customers their pre-filled name and email, for further confirmation.
However, if both name (`firstName` and `lastName`) and `email` are set, the page is completely skipped in the subscription dialog.
I would like to show the page with all the fields pre-filled, so that customers can double-check that the data is correct (say, the pre-filled name and email could come from a Facebook login, but maybe the values are not appropriate for billing, depending on the user).
Is there any solution/workaround?
Best,
Massimo, for DoYouNotes
Posted by Massimo Cairo over 1 year ago
Internal server error on Create Customer & subscription API
This is the API that we are working with. https://support.billsby.com/reference/#create-a-subscription-for-a-new-customer
When passing all the fields with the card tokenizer I'm getting this error.
```json
{
"StatusCode": 500,
"Message": "Internall Server Error",
"Error": "Value cannot be null. (Parameter \'source\')"
}
```
**Note: I'm using demo Stripe card 4242424242 for testing.**
**PS**: Also, there is an error in the API documentation, which prevents the `Try it` button from working. There is an extra space after the company domain in the URL.
Posted by Irshad over 1 year ago
Minimum Quantity Per Unit
Is it possible to create a per unit plan that enforces a minimum quantity per customer? Our use case is that we want a plan to have a minimum of 5 user licenses.
Posted by Nelson Taruc over 1 year ago
Embed code issue
I am using the Builderall platform and having a problem with the embed codes. I put the code in the site header and created an iframe for the button code. It doesn’t work. And if I try to do it with a button, it won’t accept the javascript. Any ideas?
Posted by Richard over 1 year ago
Passing customer data in an array
I have set up the array the <script> section, but it does not seem to be working is there something I need to add the link to reference the array?
Posted by Mark over 1 year ago
List products returns empty results
Using the API and PHP Curl to get the product info. My products are public. I see the row count is 2, but the results array is empty.
<code>"{"currentPage":0,"pageCount":-2147483648,"pageSize":0,"rowCount":2,"results":[]}"</code>
Posted by Mark almost 2 years ago
Plan limits
Can I create a plan that has a limited number of payments? For example, $97 per month for three months.
Posted by Jody almost 2 years ago
shipping addresses
Hi
Is there a way to export the shipping addresses and Customer names.
Kind regards
Mark
Posted by Mark almost 2 years ago
Sub-domain and languages
Hi, i need to ask user for a sub-domain to install their products, just like you to with Billsby, can i set this up in Billsby or should i implement it on my website? Free text custom field doesn't not fit, as user can enter anything that is not URL sub-domain compatible (like spaces or special chars).
Also, i need pages and emails in the language requested by user (at least French and English), can Billsby manage this?
Thanks.
Posted by Carlos almost 2 years ago
Does Billsby show an error log for API calls?
API calls that were working days ago are suddenly all returning false
Posted by Aaron almost 2 years ago
How to add a subscription to a manually created user.
I create a user directly and I can't find how to add a subscription directly without going thru the embed code.
Thanks
Posted by Alen almost 2 years ago
Product ID
I created a Product, Plan, and Cycle. Now I want to add the embed code for a button on my site. How do I find the Product ID and Plan ID to include them in the embed code for a button on my site? Is the ID the name that I gave the product and plan when I created them?
Posted by Thomas about 2 years ago