How to get the items from a localDB to whatsapp as a summarized bill?

My app is required to send the cart items(Local DB) to the user’s whatsapp as a purchase bill. How to do that? I’m having trouble with adding all items together and create the bill automatically

2 Likes

WhatsApp allows two method of communication; the free way using the URL (Share on WhatsApp).

The other way is to create an account in Facebook and use the WhatsApp business to communicate and even run scripts to auto respond but this is chargeable.

1 Like

You can join all text togheter with the join block and then share the text through the sharing component.

1 Like

Remember that you have a maximum number of characters of 256 (this is wrong. It should be 2048). If the detailed bill is over this number of characters then this will not work.

1 Like

I didn’t know that.
Is it for all strings?
Or only for a Bill?

1 Like

I was wrong. It is 2048 characters.

This is the maximum although the new version of Chrome allows up to 2MB of string.

1 Like

Oh it’s for sharing now i get it.

1 Like