Comments (4)
You have to use this https://github.com/co-cart/co-cart plugin, however I was not able to get it to work, I will pull down the cart endpoint until when I find a better solution
from woodroid.
I seem to have noticed that issue with cookies but however they still fail at some point.Adding both interceptors at once has issues and you have to make a separate connection for received cookies and another for add cookies data respectively with receiving cart information and sending cart data.
from woodroid.
That is literally what I had done, see below
OkHttpClient client = new OkHttpClient.Builder()
.addInterceptor(new AddCookiesInterceptor(context))
.addInterceptor(new ReceivedCookiesInterceptor(context))
.addInterceptor(loggingInterceptor)
.readTimeout(30, TimeUnit.SECONDS)
.writeTimeout(30, TimeUnit.SECONDS)
.connectTimeout(15, TimeUnit.SECONDS)
.build();
I would intercept on any request to cart and add the cookies and capture any response from the cart api and store cookies. The implemented cart api does not work with woocommerce authentication
from woodroid.
This has now been implemented through firebase but on the sample app
from woodroid.
Related Issues (20)
- How to check coupon code valid or not? HOT 1
- After Product is updated, all associated attributes are removed HOT 4
- Cart Respositiory Issue HOT 7
- Sign in through customer credentials HOT 6
- 401 Unauthorized HOT 5
- how to get user_meta_data and product_meta_data HOT 4
- Some type me.gilo.woodroid.xxx.xxx is defined multple times HOT 2
- how to request products using java ?? HOT 1
- ActivityManager: Invalid packageName: me.gilo.woodroid.app
- Pro-Guard
- Orders Pojo class fields mismatch
- How to apply filtering
- What if we want to retrieve values one by one?
- update the serialized name of shipping_address to shipping in Order.java
- woocommerce_api_authentication_error after change server's dns
- Please update model variables HOT 1
- Unable to create customer, without password
- Security Concern on saving secret in app
- CartRepository Not Working @Deprecated
- Order webhook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodroid.