-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
International India #2
Comments
not sure. I would love to know, please test |
closing due to inactivity |
Well I will try now x) |
awesome |
if you can provide some example calls from the Indian dominos we can start integrating them. |
@RIAEvangelist Here is the link for ordering: https://pizzaonline.dominos.co.in/ I can help out if you need anything to get this done. I figured out that it makes calls to https://pizzaonline.dominos.co.in/getLocality/homedelivery/?city_id=<CITY_NAME> where CITY_NAME list is standardized. However, when I briefly tried to create requests(using python) to get this locality, it seems like it needs cookies to be sent in the headers which are set in the browser. Not sure if it will be possible to do this from the commandline script ? On the pizza order page: it does a post request to https://pizzaonline.dominos.co.in/quickadd with {product_id:11 At the same time, it also does a POST on https://pizzaonline.dominos.co.in/view/cart and it returns the following after the addition of a single pizza: (alongwith the key upselling which is irrelevant) {"session_id":"b7c3efb4506d1223ba8df8db9f09800e","customer_basket_info":[{"customers_basket_id":"1625913","products_model":"PIZZA","products_name":"Veg Extravaganza","attributes_details":"Crust : Classic Hand Tossed\nToppings : Black Olive + Onion + Crisp Capsicum + Mushroom + Fresh Tomato + Golden Corn + Jalapeno + Cheese\nSize : Medium (serves 2)","customers_basket_quantity":"1","final_price":"535","product_level_coupon_line_id":"0","order_level_coupon_line_id":"0","applied_coupon_line_id":"0","products_id":"11#983573,984255,983684,983687,983690,983693,983696,983699,983702,984318","product_image":"vegextra.png","product_details":""}],"net_price":"535","tax_price":"0.00","total_price":"535","upselling": ........ |
I cannot find the API key for dominos India website.I logged in and searched in account settings. |
Is this issue fixed or it's still not working for Domino's India? |
There shouldn't be an API key needed @kaushikraghupathruni. It uses a completely open REST API that the site uses. This is why some countries can use the library with a simple change of URLs and others can't. |
can someone link me to complete api with interface to take a look |
v3.x branch international settings should make this possible now. Still need to work out the endpoints, but everything is baked in to support it. |
v3 now supports international apis. Please have a look. If you can not find your API endpoints request help again, and we can work on it together. I will need to work with someone in country to make sure the order completes and you get Pizza. |
If anyone would like to contribute the API list as defined in docs/InternationalSupport.md I would be happy to implement it into the code. I do need help from contributors though because I do not know addresses etc to use for testing without traveling to the country on my own. Help would be greatly appreciated, and the world of Pizza lovers would thank you. |
Here is the objecct we need populated from docs/InternationalSupport.md Please replace the URLs with the India URLs and I will integrate it into the code after we test. You can find more details in the link above if you need. {
referer :"https://order.dominos.nz/en/pages/order/",
sourceUri :"order.dominos.nz",
location:{
find:urls.location.find
},
store : {
find : "https://order.dominos.nz/power/store-locator?s=${line1}&c=${line2}&type=${type}",
info : "https://order.dominos.nz/power/store/${storeID}/profile",
menu : "https://order.dominos.nz/power/store/${storeID}/menu?lang=${lang}&structured=true"
},
order : {
validate: "https://order.dominos.nz/power/validate-order",
price : "https://order.dominos.nz/power/price-order",
place : "https://order.dominos.nz/power/place-order"
},
track : "https://order.dominos.nz/orderstorage/GetTrackerData?"
} |
Ok does it support delivery in india @RIAEvangelist and also we have to convert the price to Indian rupee |
If you add in the URLs, everything should automatically be done in Rupees. |
Is it working for Domino's india ? Did anyone try it ? |
I would be happy to help if anyone would be willing to work with me on it.
I can not order a Pizza in India myself because I am not there.
Anyone who wants to help, please, just let me know. I will work with you
for free and all your friends in India will think you are so cool.
I'm just too busy doing my regular work to stop and do this all by myself.
Namaste
…On Fri, Jun 18, 2021 at 2:46 PM Ritesh Bucha ***@***.***> wrote:
Is it working for Domino's india ? Did anyone try it ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2DEOXP7WIUFTQLJWF3M3TTO5DBANCNFSM4A4PSF7Q>
.
|
Also, I already documented how to do the internationalization on the
readme. Please read it before you reach out ;)
On Fri, Jun 18, 2021 at 3:08 PM Brandon Nozaki Miller ***@***.***>
wrote:
… I would be happy to help if anyone would be willing to work with me on it.
I can not order a Pizza in India myself because I am not there.
Anyone who wants to help, please, just let me know. I will work with you
for free and all your friends in India will think you are so cool.
I'm just too busy doing my regular work to stop and do this all by myself.
Namaste
On Fri, Jun 18, 2021 at 2:46 PM Ritesh Bucha ***@***.***>
wrote:
> Is it working for Domino's india ? Did anyone try it ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAC2DEOXP7WIUFTQLJWF3M3TTO5DBANCNFSM4A4PSF7Q>
> .
>
|
Hey in India, we get an OTP based on our debit card number, how will we support that. @RIAEvangelist I am up for working on the integration and testing. |
In hospital for a couple days will respond when I am out.
…On Wed, Jun 23, 2021, 4:56 AM Rishabh Keshan ***@***.***> wrote:
Hey in India, we get an OTP based on our debit card number, how will we
support that. @RIAEvangelist <https://github.com/RIAEvangelist> I am up
for working on the integration and testing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2DEPVRH6GRZZUGHEWK5LTUHDYJANCNFSM4A4PSF7Q>
.
|
@rishabhkeshan I do not know what an OTP is. |
Hey why don't we test COD first because Domino's had severe multiple data breaches. Me and my friends are ready to integrate and work with you on this. Plus the testing part. |
OTP is One-Time Password. It works as a 2FA for payments and authentication platforms. |
Awesome, Thank you.
Perhaps sometime we could do a remote desktop session, so we could work on
getting India setup
…On Fri, Jul 2, 2021 at 11:00 AM Bodhisatta Das ***@***.***> wrote:
OTP is One-Time Password. It works as a 2FA for payments and
authentication platforms.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2DEO7ZJWB77Z6LGUPLBLTVX5CFANCNFSM4A4PSF7Q>
.
|
Yeah I would too like to help out with it, can decide on a suitable time next week |
I think we should try Cash on Delivery first |
@rishabhkeshan and @abhyuday-tripathi I think trying CoD first is a good option, do you need help trying this? |
No description provided.
The text was updated successfully, but these errors were encountered: