Allow user location and offer local services from service providers

Hi there;
It would be helpful if you could help to answer following question :

1.Would it be possible in bubble to access user current location.I would like to offer local restaurant food to user based on their location.For that user current location is very important.
2.Can we integrate payment methods? if so which payment method is possible ? Basically I am looking for paypal,paytm online payment option.

I look forward to hearing from you. Thanks for your anticipation!!!

1 Like

Hi there,

These are both possible, I’d encourage you to check out the “Plugin” section of Bubble. Paypal and Geolocation plugins exist.

For geolocation there are a couple different technical methods to find a users location, each with pros and cons. Using the IP is one, using GPS on a phone is another. IP is more prevalent but less accurate, I’d probably recommend it.

Tony

1 Like

Hi Tony ;

Thanks for your information. It would be really helpful .
I am really appreciated your work and would like to learn from you .I am beginner and have following doubt if possible could you please take a look :
1.Do we need plugin to generate unique order id for each transaction and withdraw commission (6 % ) and rest of money transfer to restaurant owner.

show favorites restaurant if user click on favorite favicon.

  1. could you please provide information how can we edit profile and save edited data in database?

  2. Would it be helpful if you could give information about decrease order availability count down .eg.if food available =25 if user order it then food available = 24

  3. How could we shows Discount price with canceling original price (refer home attached file )

5.would it be possible to calculate delivery charges ( charges per distance ) on bubble

  1. Step to implement Sum functionality ( total amount = Food cost + Delivery charges )
1 Like

Hi there,

No problem, happy to offer some high-level perspective to your project

1.Do we need plugin to generate unique order id for each transaction and withdraw commission (6 % ) and rest of money transfer to restaurant owner.
Should be doable. After a transaction occurs through PayPal you should get a unique transaction ID. If you need another random number or string in your app or database isn’t the payment ID you can “Calculate Formula” and generate a random string in Workflows.

1a. show favorites restaurant if user click on favorite favicon.
Yes, shouldn’t be a problem. Set the favorite’s to the Current User “thing”. Multiple ways you could display the information of favorites, one would be a repeating group

2. could you please provide information how can we edit profile and save edited data in database?
If you’re editing the User’s information, a common way may be to “Make changes to a thing” … “Current User” and update the values that you want.

3. Would it be helpful if you could give information about decrease order availability count down .eg.if food available =25 if user order it then food available = 24
Doable. You’d want to create a step in the Workflow that updates the value. “Make changes to a thing”… fieldA = fieldA -1

4. How could we shows Discount price with canceling original price (refer home attached file )
I don’t see the attached file here but this could be done with:

  1. A piece of text that links to a price
  2. Conditional formatting on that text. IF there is a discount, cross this text out / show element (new price)

5.would it be possible to calculate delivery charges ( charges per distance ) on bubble
Doable. If you’re using 3rd party pricing, you’ll need an API connection or Plugin. If doing it internally you could calculate the price based on distance away from location (calculating the distance between two addresses or lat/longs).

6. Step to implement Sum functionality ( total amount = Food cost + Delivery charges )
Doable. The Sum functionality may be something you want to add to your database, or you may be able to do this with “Calculate Formula” without adding another Field to your database.


I think everything you want to accomplish here is doable. I’d recommend really digging into the learning resources and tutorials to understand how Bubble works and what you can accomplish with it especially workflows. The thing that will be the most difficult to do well IMO are going to be:

–> Delivery charges based on location and capturing that location information from desktop or mobile.

Good Luck!

Tony

1 Like

Hi Tony ;
Thank you so much for your solution. It would be really helpful .After research on bubble, I have found that user can not publish app directly in google play store .it require some wrapping. It would be greatful if you could give information about bubble app publication on google play store.
would it be possible to integrate paytm(Indian online payment service) in bubble ?
Also, in market so many tools are available for mobile app development without coding like drop-source, MIT app inventor etc.
Its very difficult to select right tool for mobile app development.
It will be helpful if you can recommend optimist tool for mobile app development .
Thank you once again for assistance.
Have a wonderful day!!!