Community
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 2 years ago
Creating subscription manually while testing
I am evaluating Billsby and have not gone live with a payment processor. I have created products, plans, and cycles, and created a single customer manually. But I am unable to create a subscription manually for a customer. Starting on the individual customer page, I press Create Subscription and am able to go proceed through a checkout sequence. But at the end of the checkout sequence, I get the message "There was a problem processing your payment
Please try again later or using a different card".
Is it possible to create subscriptions in a test mode without being active on a live payment processor?
Posted by Joe over 2 years ago
Payment
When I try to add a card for my subscriptions I keep getting this message:
There was a problem processing your payment
Please try again later or try using a different card
Posted by Ania about 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 2 years ago
how can i use Authorize.net with billsby?
Posted by Joshua Black about 2 years ago
Are there any other embedding options to use on our website?
I'm having trouble with the javascript embedding options, when I put them into a HTML content box on my website it just looks rubbish a simple "Subscribe' with no button around it or colours or anything like that, and looks totally off brand.
I know you can do anything with code to fix that if you know how, but are there any easy fixes where we can turn the javascript into a URL link and actually add it into pricing tables, CTA buttons etc on front end website services & have it go through to our billsby checkout?
Or have a button brand configuration in our billsby dashboard where we can create the button we want and them copy and paste the button code for each plan/product etc straight into our site?
As inputting the javascript into a link url section doesn't work at all.
Any tips & guidance appreciated,
Bests
Andy
Posted by AJ over 2 years 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 almost 3 years 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 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 about 3 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 3 years ago