I am using consolibyte "mysql_mirror script" for two way syncing. Till now syncing is working perfectly but there are questions related to syncing.
We want customer billing and shipping address without First Name and Last Name. Requirement is to get only customer's address that is valid and can be used in google maps API. Question is that
Is it possible through code modification or any other way to get customer's clear address.
Customer's Mobile and Website information is not synced from QBD to MySQL. Is it possible through code modification to sync this information and if yes, can you please give me direction what code modification is required to sync it.
Some tables are not synced from QBD to MySQL like "qb_unitofmeasureset". Is there any page that specifies the list of tables that wouldn't be synced?
As per my understanding if i set mode to MODE_READWRITE and use only QUICKBOOKS_OBJECT_** option for customer type, then two way sync will work correctly.
What is the purpose of other three
QUICKBOOKS_ADD_CUSTOMERTYPE',
QUICKBOOKS_QUERY_CUSTOMERTYPE'
QUICKBOOKS_IMPORT_CUSTOMERTYPE
I see these four actions for other entities as well.
Please make sure you read this first:
http://consolibyte.com/forum/viewtopic.php?id=20
And:
https://github.com/consolibyte/quickbooks-php/blob/master/docs/web_connector/example_mysql_mirror.php
We want customer billing and shipping address without First Name and Last Name.
The data synced is the data in QuickBooks. If QuickBooks has the first/last name in it, then the data that gets synced will have the first/last name in it.
Customer's Mobile and Website information is not synced from QBD to MySQL. Is it possible through code modification to sync this information
You should refer to the QuickBooks OSR for this. If it's accessible in the OSR, you should be able to add support for it.
I think you'd have to add the fields in here:
https://github.com/consolibyte/quickbooks-php/tree/master/QuickBooks/QBXML/Schema/Object
But I'm not 100% sure.
Some tables are not synced from QBD to MySQL like "qb_unitofmeasureset". Is there any page that specifies the list of tables that wouldn't be synced?
I don't have this information anywhere, no.
What is the purpose of other three QUICKBOOKS_ADD_CUSTOMERTYPE', QUICKBOOKS_QUERY_CUSTOMERTYPE' QUICKBOOKS_IMPORT_CUSTOMERTYPE
These are used in other parts of the framework. They are NOT used with the SQL mirror code.
Related
I have been trying to integrate Quickbooks Online API with PHP in to my website and I have found an issue where I could keep on creating the same invoice.
Although there have been accepted answer in this forum however it is really being vague not exact.
"If you don't have the TxnID, there really isn't a way to detect a "duplicate" invoice in QuickBooks.Does this mean that upon creation of invoce there is no way to check if an invoice was already create via API?
https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/invoice#create-an-invoice
When creating an invoice the values returned under "LinkedTxn" field is always empty
"The closest you can get is querying by RefNumber ...there's no guarantee that the invoice that you get back from that query is the invoice that you created."
Still same as first but I have been searching RefNumber under the documentation but I can't seem to find it.
If "RefNumber's" cannot be gauranteed then what are the other
alternatives?
Do I have to handle this on my local or at least add a column on my
local table for indicating if item is already sync?
PS: I also tried to insert txnid on the create invoice field however I wasn't successful.
While testing on sandbox I realized there is this number, what is this called? Can I use this for checking the existing invoice?
The NO. column you're showing in your screenshot is the DocNumber field. It's in the documentation here:
https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/invoice#the-invoice-object
In most cases, the DocNumber is a unique field. But not in all cases (you'll see some exceptions noted in the docs related to France and also to custom document numbers).
The best way to avoid duplicates is to keep track of what you send to QuickBooks on your end. On your end, maintain a list of what you sent to QuickBooks. Don't send it again if you've already sent it.
I have some problem to solve. Client was using third-party SaaS e-commerce platform (http://shoper.pl), which has integrated GA for E-Commerce. Everything works fine, except passing information about discounts. All transactions was showing on GA, but client needs to find, which transactions was made with discount code.
And there comes the biggest problem - as I said, thats SaaS platform, and code was closed.
We have created additional PHP app, for processing orders from Shoper, maybe there will be a option to 'inject' additional GA data this way? From app, we have access to all order data. Is that possible, to update some data on GA, basing on transaction ID? Or maybe you have some other solution for that?
Google Analytics has a data import feature, however the only import type that ties to a transaction id is refund data (which will not allow you to attach a discount code to the transaction). I would suggest a workaround, but can give no real guarantee that it will actually work (since data imports take a while to process this would take a long time to test).
Data imports need a key field within GA, with the same key in the data you want to import from an external source.
One of the data import types is "custom data". With that you can use a custom dimension as key. For that you need to create two custom dimensions - for examples sake I'll call them "key" and "coupon", both are hit scoped.
Next you have to set up a advanced filter in your view settings. If the request url matches the confirmation page you extract the transaction id and copy it (via "Output to constructor") to the custom dimension "key".
Next you go to property settings -> data import -> new data set -> type "custom data".
Give the data set a name, attach a view. In the data schema setting select "custom dimensions->key" as key field. In the imported data field select "custom dimensions->coupon" (as created above). Select "overwrite hit data". Download the data schema.
Prepare the data you want to import. In the data schema file fill the first column with the transaction ids. In the second column fill the rows with coupon code per transaction where applicable.
Go to your data import, click "manage uploads" and upload your file. Wait 24 hours until the data is processed. If things work as hoped the pageviews for the transactions will now have the custom dimension with the coupon id attached (if applicable, else it will simply be empty). I.e. the dimension will still not be tied to the transaction id, but at least to the pageview where the transaction took place, so that's the next best thing.
As I've said that's untested, but I do not see any particular reason why it wouldn't work, even if it's quite a roundabout way.
I am trying to connect to MLS Rets server in my local wordpress but can't connect.
I also don't know how to use Rets Server and get data from there? Also need some real estate sample data for testing purpose.
Does Anybody have any idea. How can I do that.
Im not familiar with that wordpress plugin but you would get your login information and other details on connecting from the MLS that you are subscribed to. They could potentially have restricted access times or have IP restricted access among other general inconveniences causing you to not be able to connect.
Once connected, if you were looking for sample data then you would set your batch to a few hundred properties or something just to start. Or its possible that the MLS offers a sample set of data or a test server to use in developing your application.
to answer your comment
You have to be a member of one. Multiple Listing Services are organizations that realtors belong to in order to share their listing data through broker reciprocity. There are several hundred MLSes in the US alone and although many of them use the RETS standard (which really shouldnt be considered a 'standard' in the first place) there is absolutely nothing standardized about them beyond a few similarities here and there... im not sure about other countries... There is also a way to become an IDX vendor for MLSes.. This usually involves setup and monthly fees and strict approval processes.. In that case you would be selling your IDX service to a member of the MLS in question. If your not a realtor and just want to display listing data im pretty sure your going to have a hard time getting approved to do so.
You need to Connect RETS Service Provide they will give Credential once you register as agent under that agency and Provide Limited Access for RETS Data Feed once Again you can check your credential working or not using http://retsmd.com or if find any issue i having Script PHRETS and RETS IQ we will discuss if you facing any other issue.
To add to Andrew's answer - to get RETS credentials, you'll not only need to have an agent sign off for you, but you'll also need to get their broker in charge to approve it. Most agents choose to use a third party service that is already setup as a vendor since it can be a months or year long process for a new vendor to get setup and approved. Especially if that vendor doesn't already have standing relationships with other MLSs.
Some MLSs charge vendor fees that can range from $0 to as high as $5000 / month for access.
Is there any possibility to move customer and order data between 2 magento sites?
I have a database which keeps giving wierd issues with the database so I intend to rebuild the site, adding in some extra features at the same time. I cannot loose the order and customer history though (including passwords etc) so Is there a way to do this?
I've got the same problem. I posted a question about this in the magento forum.
If i don't get an satisfying answer, i will write an application that reads and associates the customers and orders and writes both into the new store.
You can do that using the Magento SOAP API.
I realize they have an API but some of
the questions I have wouldn't be
answered by it, and it would be great
to receive feedback from others who
have integrated it before.
I basically am working with a web site where visitors may choose to sell a used item to the site owner.
If the user decides to sell, he can enter in the specifications of the item and be given a quote. Then he'll proceed to enter in his address, which I assume I'll have to verify using the Fedex API before or during the part where it creates a shipping label.
So assuming the address is verified, it looks like the script in the API I have to interact with is /Ship/Ground/Domestic/ShipGroundDomestic.php5 ( since we will not integrate any other type of shipment type yet ).
Is this is the script that actually creates the shipment and charges the account setup, assuming all goes well it returns a xml response with the status?
Since it's SOAP based - I realize there are options for a pdf and png shipping label type, it looks like it generates the label but where is it actually stored, is it just temporary?
In the script it specifies options for a API Key, password, account #, and Meter # - so I would have to actually know the site owners credentials, since it charges for creating shipments/labels I can't use a normal account that doesn't have a CC setup, can I?
I can't actually test anything without contacting them and telling them to make my account go into test mode? Or is there an extra parameter for test mode?
I should store all shipments in a local database to pull them up, right? Or should I solely rely on Fedex for storing all the information? If I use a local database I can map shipments to users and use a Fedex provided script to look up the delivery status so I would think I have to do that.
If I were to have a feature that automatically emailed customers with status updates of a delivery, I would have to use some type of cron job to look and see if there were any updates made, I can't do this any other way?
If you are using the the Fedex Web Services API you get a test key by going to https://www.fedex.com/wpor/wpor/editConsult.do
(You may need to be already signed in).
The label it generates it just dumps into the current directory. That is obviously not acceptable for production code, since it does not even generate a unique file name, but the php file is example code. Modify the code they give to do whatever you want with the returned label.
You would want a local database.
Why would you want to send users updates? Is there any reason they cannot just use the tracking number and look it up themselves? I mean it would be possible to call the tracking API periodically and generate emails, but do users really want these emails?