Hello,
I am working on googlecheckout. I am facing some problem in receiving XML message coming from Google. Let me explain the scenario: First of all we prepare a XML string and if XML string format looks good then Google sends the response in XML form on the specified call back URL. Settings of Call Back url is done in Google checkout area. I have specified call back url of server and which looks like: http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse But the problem is that I am not getting any XML message on this URL. Do we have some restrictions in inbuilt tomcat setup so that it don't accept any request coming from the external resource ? I am puzzling on this since long so any help on this would be greatly appreciated. Thanks in advance. -- Ashish smime.p7s (4K) Download Attachment |
Hi Ashish
Is the url that you're providing publicly accessible without any authentication? Regards Scott On 25/05/2009, at 10:21 PM, Ashish Vijaywargiya wrote: > Hello, > > I am working on googlecheckout. > I am facing some problem in receiving XML message coming from Google. > > Let me explain the scenario: > > First of all we prepare a XML string and if XML string format looks > good then Google sends the response in XML form on the specified > call back URL. > Settings of Call Back url is done in Google checkout area. > I have specified call back url of server and which looks like: > > http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse > > But the problem is that I am not getting any XML message on this URL. > Do we have some restrictions in inbuilt tomcat setup so that it > don't accept any request coming from the external resource ? > > I am puzzling on this since long so any help on this would be > greatly appreciated. > Thanks in advance. > > -- > Ashish > smime.p7s (3K) Download Attachment |
Hello Scott,
Thanks for your response. Yes the URL that I have provided is publicly available. I have tried it by putting the URL in browser and it is working. -- Ashish Scott Gray wrote: > Hi Ashish > > Is the url that you're providing publicly accessible without any > authentication? > > Regards > Scott > > On 25/05/2009, at 10:21 PM, Ashish Vijaywargiya wrote: > >> Hello, >> >> I am working on googlecheckout. >> I am facing some problem in receiving XML message coming from Google. >> >> Let me explain the scenario: >> >> First of all we prepare a XML string and if XML string format looks >> good then Google sends the response in XML form on the specified call >> back URL. >> Settings of Call Back url is done in Google checkout area. >> I have specified call back url of server and which looks like: >> >> http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse >> >> >> But the problem is that I am not getting any XML message on this URL. >> Do we have some restrictions in inbuilt tomcat setup so that it don't >> accept any request coming from the external resource ? >> >> I am puzzling on this since long so any help on this would be greatly >> appreciated. >> Thanks in advance. >> >> -- >> Ashish >> > smime.p7s (4K) Download Attachment |
In reply to this post by Ashish Vijaywargiya-5
Hi Ashish,
if you want to use Google Checkout API callback is necessary to install a trused certificate and then URL must be in https and not http (API callback URL on Setting --> Integration). Anyway if you see that Google Checkout does not reach your OFBiz URL you can check the logs under Tools --> Integration Console. Hoping it can helps you. Thanks Marco > Hello Scott, > > Thanks for your response. > > Yes the URL that I have provided is publicly available. > I have tried it by putting the URL in browser and it is working. > > -- > Ashish > > Scott Gray wrote: > > Hi Ashish > > > > Is the url that you're providing publicly accessible without any > > authentication? > > > > Regards > > Scott > > > > On 25/05/2009, at 10:21 PM, Ashish Vijaywargiya wrote: > > > >> Hello, > >> > >> I am working on googlecheckout. > >> I am facing some problem in receiving XML message coming from Google. > >> > >> Let me explain the scenario: > >> > >> First of all we prepare a XML string and if XML string format looks > >> good then Google sends the response in XML form on the specified call > >> back URL. > >> Settings of Call Back url is done in Google checkout area. > >> I have specified call back url of server and which looks like: > >> > >> http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse > >> > >> > >> But the problem is that I am not getting any XML message on this URL. > >> Do we have some restrictions in inbuilt tomcat setup so that it don't > >> accept any request coming from the external resource ? > >> > >> I am puzzling on this since long so any help on this would be greatly > >> appreciated. > >> Thanks in advance. > >> > >> -- > >> Ashish > >> > > > |
Hello Marco,
Thanks for your comments. Please see my comments inline: [hidden email] wrote: Yes I agree from you but if my call back URL is http specific then should I also need to install the trusted certificate ?Hi Ashish, if you want to use Google Checkout API callback is necessary to install a trused certificate and then URL must be in https and not http (API callback URL on Setting --> Integration). FYI I have installed the certificate by the steps shown in the document: http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration Isn't the certificate downloaded from sandbox.google.com trusted certificate ? Yes I have seen Integration Console too. But that is not generating any message, if I provide the URL something like specified in my last email.Anyway if you see that Google Checkout does not reach your OFBiz URL you can check the logs under Tools --> Integration Console. I can share you few bug details: We encountered an error trying to access your server at http://xxx.xxx.xxx.xxx:8080/ This message comes when I provide wrong server details. See "ecommerce123/control/processGoogleCheckoutResponse123 But when I provide right server details like the URL shown below then it don't generate any message on Integration Console. http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse -- Ashish Hoping it can helps you. Thanks Marco smime.p7s (4K) Download Attachment |
In reply to this post by Ashish Vijaywargiya-5
Hi Ashish,
I never tested the trick from Andreas Sterbenz's blog but I have tested GC notifications in the past and it was necessary an https URL for notification with a trusted and visible certificate into OFBiz. If you try to click on the question mark "Specify a URL for Google to notify you of new orders and changes in order state. You must provide the URL of a server running 128-bit SSLv3 or TLS. [?]" (http://checkout.google.com/support/sell/bin/answer.py?answer=57519&hl=en) into Setting --> Integration you can get more informations about it. Are you able to do a Google Checkout from OFBiz? Are you redirect correctly to their site ? Can you try to use an https URL and configure your request processGoogleCheckoutResponse into Ecommerce controller.xml in this way : <security https="true"/> Thanks Marco > Hello Marco, > > Thanks for your comments. > Please see my comments inline: > > [hidden email] wrote: > > Hi Ashish, > > > > if you want to use Google Checkout API callback is necessary to install a trused certificate and then URL must be in https and not http (API callback URL on Setting --> Integration). > > > Yes I agree from you but if my call back URL is http specific then > should I also need to install the trusted certificate ? > FYI I have installed the certificate by the steps shown in the document: > http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration > Isn't the certificate downloaded from sandbox.google.com trusted > certificate ? > > > Anyway if you see that Google Checkout does not reach your OFBiz URL you can check the logs under Tools --> Integration Console. > > > Yes I have seen Integration Console too. But that is not generating any > message, if I provide the URL something like specified in my last email. > I can share you few bug details: > > We encountered an error trying to access your server at > http://xxx.xxx.xxx.xxx:8080/ecommerce123/control/ > <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1>processGoogleCheckoutResponse123 > -- the error we got is Send failed with code: 400. Response body was: > <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1> > > This message comes when I provide wrong server details. See > "ecommerce123/control/processGoogleCheckoutResponse123 > But when I provide right server details like the URL shown below then it > don't generate any message on Integration Console. > > http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse > > > -- > Ashish > > > > Hoping it can helps you. > > > > Thanks > > Marco > > > > > > > |
Hello Marco,
Thanks for your reply. I haven't played with certificate thing so here are some questions from my side before diving into it. Do you know some handy & easy document to install SSL certificate easily on my server ? Thoughts on authorize.net ? http://docs.ofbiz.org/display/OFBIZ/How+to+configure+authorize.net+certificates I will start searching on this early in the morning tomorrow but some pointer to install certificate will be of great help. Is it ok to use thawte ssl certificate for in trial period(will purchase later on if everything work for us on production instance) ? Any preference ? Anyone tried to install OpenSSL in tomcat instance of OFBiz server ? -- Ashish [hidden email] wrote: Hi Ashish, I never tested the trick from Andreas Sterbenz's blog but I have tested GC notifications in the past and it was necessary an https URL for notification with a trusted and visible certificate into OFBiz. If you try to click on the question mark "Specify a URL for Google to notify you of new orders and changes in order state. You must provide the URL of a server running 128-bit SSLv3 or TLS. [?]" (http://checkout.google.com/support/sell/bin/answer.py?answer=57519&hl=en) into Setting --> Integration you can get more informations about it. Are you able to do a Google Checkout from OFBiz? Are you redirect correctly to their site ? Can you try to use an https URL and configure your request processGoogleCheckoutResponse into Ecommerce controller.xml in this way : <security https="true"/> Thanks MarcoHello Marco, Thanks for your comments. Please see my comments inline: [hidden email] wrote:Hi Ashish, if you want to use Google Checkout API callback is necessary to install a trused certificate and then URL must be in https and not http (API callback URL on Setting --> Integration).Yes I agree from you but if my call back URL is http specific then should I also need to install the trusted certificate ? FYI I have installed the certificate by the steps shown in the document: http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration Isn't the certificate downloaded from sandbox.google.com trusted certificate ?Anyway if you see that Google Checkout does not reach your OFBiz URL you can check the logs under Tools --> Integration Console.Yes I have seen Integration Console too. But that is not generating any message, if I provide the URL something like specified in my last email. I can share you few bug details: We encountered an error trying to access your server at http://xxx.xxx.xxx.xxx:8080/ecommerce123/control/ <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1>processGoogleCheckoutResponse123 -- the error we got is Send failed with code: 400. Response body was: <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1> This message comes when I provide wrong server details. See "ecommerce123/control/processGoogleCheckoutResponse123 But when I provide right server details like the URL shown below then it don't generate any message on Integration Console. http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse -- AshishHoping it can helps you. Thanks Marco smime.p7s (4K) Download Attachment |
Hi Ashish,
for Authorize.net I have already test it using the instruction from Andreas Sterbenz blog and then it's recognized as a trusted certificate installed. Probably the difference is that Authorize simply check that a trusted certificate is installed instead GC check also that the certificate match with the site name/address. Thanks Marco Il giorno 25/mag/09, alle ore 21:31, Ashish Vijaywargiya ha scritto: > Hello Marco, > > Thanks for your reply. > I haven't played with certificate thing so here are some questions > from my side before diving into it. > > Do you know some handy & easy document to install SSL certificate > easily on my server ? > Thoughts on authorize.net ? > http://docs.ofbiz.org/display/OFBIZ/How+to+configure+authorize.net+certificates > > I will start searching on this early in the morning tomorrow but > some pointer to install certificate will be of great help. > Is it ok to use thawte ssl certificate for in trial period(will > purchase later on if everything work for us on production > instance) ? Any preference ? > > Anyone tried to install OpenSSL in tomcat instance of OFBiz server ? > > -- > Ashish > > > [hidden email] wrote: >> >> Hi Ashish, >> >> I never tested the trick from Andreas Sterbenz's blog but I have >> tested GC notifications in the past and it was necessary an https >> URL for notification with a trusted and visible certificate into >> OFBiz. >> If you try to click on the question mark "Specify a URL for Google >> to notify you of new orders and changes in order state. You must >> provide the URL of a server running 128-bit SSLv3 or TLS. [?]" (http://checkout.google.com/support/sell/bin/answer.py?answer=57519&hl=en >> ) into Setting --> Integration you can get more informations about >> it. >> >> Are you able to do a Google Checkout from OFBiz? >> Are you redirect correctly to their site ? >> >> Can you try to use an https URL and configure your request >> processGoogleCheckoutResponse into Ecommerce controller.xml in this >> way : >> >> <security https="true"/> >> >> Thanks >> Marco >> >> >>> Hello Marco, >>> >>> Thanks for your comments. >>> Please see my comments inline: >>> >>> [hidden email] wrote: >>> >>>> Hi Ashish, >>>> >>>> if you want to use Google Checkout API callback is necessary to >>>> install a trused certificate and then URL must be in https and >>>> not http (API callback URL on Setting --> Integration). >>>> >>>> >>> Yes I agree from you but if my call back URL is http specific then >>> should I also need to install the trusted certificate ? >>> FYI I have installed the certificate by the steps shown in the >>> document: >>> http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration >>> Isn't the certificate downloaded from sandbox.google.com trusted >>> certificate ? >>> >>> >>>> Anyway if you see that Google Checkout does not reach your OFBiz >>>> URL you can check the logs under Tools --> Integration Console. >>>> >>>> >>> Yes I have seen Integration Console too. But that is not >>> generating any >>> message, if I provide the URL something like specified in my last >>> email. >>> I can share you few bug details: >>> >>> We encountered an error trying to access your server at >>> http://xxx.xxx.xxx.xxx:8080/ecommerce123/control/ >>> <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1 >>> >processGoogleCheckoutResponse123 >>> -- the error we got is Send failed with code: 400. Response body >>> was: >>> <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1 >>> > >>> >>> This message comes when I provide wrong server details. See >>> "ecommerce123/control/processGoogleCheckoutResponse123 >>> But when I provide right server details like the URL shown below >>> then it >>> don't generate any message on Integration Console. >>> >>> http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse >>> >>> >>> -- >>> Ashish >>> >>> >>> >>>> Hoping it can helps you. >>>> >>>> Thanks >>>> Marco >>>> >>>> >>>> >>>> >> >> |
In reply to this post by Ashish Vijaywargiya-5
Hi Aashish,
I have done a google checkout integration with ofbiz. i guess you are sandbox for coding and testing. if you are using the sandbox, you do not need the ssl on your server. using sandbox you can make calls to https as well as http, just make the changes in google checkout setting on google. Can you tell me what degree of integration you are trying to achive. i mean are you looking at just passing the cart to google, or you are looking for complete order/payment processing and tracking. i have partially achieved the order and payment processing however a lot of work needs to be done. If you plan to put your work on ofbiz for everyone's use, then i can share my code with you. For the SSL part, i am using apache proxy pass, the SSL is configured in apache and google make call to a https URL, which is forwarded by apache to ofbiz. Rohit --- On Tue, 5/26/09, Ashish Vijaywargiya <[hidden email]> wrote: From: Ashish Vijaywargiya <[hidden email]> Subject: Re: Callback URL is not accepting response string in Google Checkout To: [hidden email] Date: Tuesday, May 26, 2009, 1:01 AM Hello Marco, Thanks for your reply. I haven't played with certificate thing so here are some questions from my side before diving into it. Do you know some handy & easy document to install SSL certificate easily on my server ? Thoughts on authorize.net ? http://docs.ofbiz.org/display/OFBIZ/How+to+configure+authorize.net+certificates I will start searching on this early in the morning tomorrow but some pointer to install certificate will be of great help. Is it ok to use thawte ssl certificate for in trial period(will purchase later on if everything work for us on production instance) ? Any preference ? Anyone tried to install OpenSSL in tomcat instance of OFBiz server ? -- Ashish [hidden email] wrote: Hi Ashish, I never tested the trick from Andreas Sterbenz's blog but I have tested GC notifications in the past and it was necessary an https URL for notification with a trusted and visible certificate into OFBiz. If you try to click on the question mark "Specify a URL for Google to notify you of new orders and changes in order state. You must provide the URL of a server running 128-bit SSLv3 or TLS. [?]" (http://checkout.google.com/support/sell/bin/answer.py?answer=57519&hl=en) into Setting --> Integration you can get more informations about it. Are you able to do a Google Checkout from OFBiz? Are you redirect correctly to their site ? Can you try to use an https URL and configure your request processGoogleCheckoutResponse into Ecommerce controller.xml in this way : <security https="true"/> Thanks Marco Hello Marco, Thanks for your comments. Please see my comments inline: [hidden email] wrote: Hi Ashish, if you want to use Google Checkout API callback is necessary to install a trused certificate and then URL must be in https and not http (API callback URL on Setting --> Integration). Yes I agree from you but if my call back URL is http specific then should I also need to install the trusted certificate ? FYI I have installed the certificate by the steps shown in the document: http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration Isn't the certificate downloaded from sandbox.google.com trusted certificate ? Anyway if you see that Google Checkout does not reach your OFBiz URL you can check the logs under Tools --> Integration Console. Yes I have seen Integration Console too. But that is not generating any message, if I provide the URL something like specified in my last email. I can share you few bug details: We encountered an error trying to access your server at http://xxx.xxx.xxx.xxx:8080/ecommerce123/control/ <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1>processGoogleCheckoutResponse123 -- the error we got is Send failed with code: 400. Response body was: <https://sandbox.google.com/checkout/sell/settings?userToken=1243251863134+j66kJeIclVm65f5ASdSKBIWPtqY%3D§ion=IntegrationConsole&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3FuserToken%3D1243251863134%2Bj66kJeIclVm65f5ASdSKBIWPtqY%253D%26section%3DIntegrationConsole&serialNumber=959222106323078-00006-1> This message comes when I provide wrong server details. See "ecommerce123/control/processGoogleCheckoutResponse123 But when I provide right server details like the URL shown below then it don't generate any message on Integration Console. http://xxx.xxx.xxx.xxx:8080/ecommerce/control/processGoogleCheckoutResponse -- Ashish Hoping it can helps you. Thanks Marco |
In reply to this post by mrisaliti@libero.it
Thanks Marco for your reply.
Please take a look on my reply in another email replying to Rohit's email. If you have some more thoughts and you would like to share :-) -- Ashish Marco Risaliti wrote: > Hi Ashish, > > for Authorize.net I have already test it using the instruction from > Andreas Sterbenz blog and then it's recognized as a trusted > certificate installed. > Probably the difference is that Authorize simply check that a trusted > certificate is installed instead GC check also that the certificate > match with the site name/address. > > Thanks > Marco > > smime.p7s (4K) Download Attachment |
In reply to this post by rohit
Hello Rohit,
Thanks for your reply. Its good to know that you have done Google Checkout Integration. Please see my comments inline: Rohit Sureka wrote: > Hi Aashish, > > I have done a google checkout integration with ofbiz. i guess you are sandbox for coding and testing. if you are using the sandbox, you do not need the ssl on your server. using sandbox you can make calls to https as well as http, just make the changes in google checkout setting on google. > > Yes I was testing things on Sandbox. I agree from you that on sandbox you can make calls to https as well as https. The only problem that we are facing is: We are unable to process parameters coming from google in the CallBack URL. Although we are getting control on the request specified in the callback URL but unable to parse XML string associated with Callback URL. We are in the process to figure out this issue will update on this when we will be done from this. Rohit, were you able to get XML string on the call back URL on the http port ? > Can you tell me what degree of integration you are trying to achive. i mean are you looking at just passing the cart to google, or you are looking for complete order/payment processing and tracking. > Please see my comments on the OFBIZ-2521. > > i have partially achieved the order and payment processing however a lot of work needs to be done. > https://issues.apache.org/jira/browse/OFBIZ-2521 Please let us know the outstanding things that you have planned to implement. May be we can collaborate to get some good results. > > If you plan to put your work on ofbiz for everyone's use, then i can share my code with you. > I will put all the code in OFBiz. The reason is that I always consider that the code written by me may have some big issues and that can be addressed by sharing code with the community. If you like you can share your code at https://issues.apache.org/jira/browse/OFBIZ-2521 > > For the SSL part, i am using apache proxy pass, the SSL is configured in apache and google make call to a https URL, which is forwarded by apache to ofbiz. > Thanks for the info. > > Rohit > smime.p7s (4K) Download Attachment |
In reply to this post by Ashish Vijaywargiya-5
Hi Ashish,
I have uploaded a merchant calculation file for doing the shipping cost. The file, handles XML string from google and responds with the shipping costs. I have the basic structure ready, ie., send the cart to google, calculate shipping cost, receive order notification, log the order in ofbiz, charge the customers card, cancel, refund and archieve order. What really needs to be done with my code is, cleanup, make it to confirm to ofbiz standards and do some coding to make sure that the accounting part is properly logged and reported in ofbiz. I will be happy to share the code with you, if you think you can work on it and give it back to the ofbiz community. Rohit --- On Tue, 5/26/09, Ashish Vijaywargiya <[hidden email]> wrote: From: Ashish Vijaywargiya <[hidden email]> Subject: Re: Callback URL is not accepting response string in Google Checkout To: [hidden email] Date: Tuesday, May 26, 2009, 12:33 PM Hello Rohit, Thanks for your reply. Its good to know that you have done Google Checkout Integration. Please see my comments inline: Rohit Sureka wrote: > Hi Aashish, > I have done a google checkout integration with ofbiz. i guess you are sandbox for coding and testing. if you are using the sandbox, you do not need the ssl on your server. using sandbox you can make calls to https as well as http, just make the changes in google checkout setting on google. > Yes I was testing things on Sandbox. I agree from you that on sandbox you can make calls to https as well as https. The only problem that we are facing is: We are unable to process parameters coming from google in the CallBack URL. Although we are getting control on the request specified in the callback URL but unable to parse XML string associated with Callback URL. We are in the process to figure out this issue will update on this when we will be done from this. Rohit, were you able to get XML string on the call back URL on the http port ? > Can you tell me what degree of integration you are trying to achive. i mean are you looking at just passing the cart to google, or you are looking for complete order/payment processing and tracking. > Please see my comments on the OFBIZ-2521. > i have partially achieved the order and payment processing however a lot of work needs to be done. > https://issues.apache.org/jira/browse/OFBIZ-2521 Please let us know the outstanding things that you have planned to implement. May be we can collaborate to get some good results. > If you plan to put your work on ofbiz for everyone's use, then i can share my code with you. > I will put all the code in OFBiz. The reason is that I always consider that the code written by me may have some big issues and that can be addressed by sharing code with the community. If you like you can share your code at https://issues.apache.org/jira/browse/OFBIZ-2521 > For the SSL part, i am using apache proxy pass, the SSL is configured in apache and google make call to a https URL, which is forwarded by apache to ofbiz. > Thanks for the info. > Rohit > |
Hello Rohit,
First of all I would like to share my feelings on this topic. Finally I got success to get XML string on the callback url, and I received string on the http port instead of https port. I was trying to read the XML string from the connection URL object and finally after reviewing your code I noticed that you were reading inputStream from the request object and that did the trick for me. Thanks a lot Rohit for sharing code. Special thanks to Marco for sharing his thoughts. Now we are ready to take another step in google checkout to parse notification string, create Order in OFBiz etc etc. Please see my comments inline: -- Ashish Rohit Sureka wrote: > Hi Ashish, > > I have uploaded a merchant calculation file for doing the shipping cost. The file, handles XML string from google and responds with the shipping costs. > > I have the basic structure ready, ie., send the cart to google, calculate shipping cost, receive order notification, log the order in ofbiz, charge the customers card, cancel, refund and archieve order. > We are almost planning to do the same thing so if you would like to share code on JIRA issue then you can do it. I assure you that I will take your code whenever required and will put it in the trunk. Its upto you share the code or not. I am fine with either option. > > What really needs to be done with my code is, cleanup, make it to confirm to ofbiz standards and do some coding to make sure that the accounting part is properly logged and reported in ofbiz. > I will be happy to share the code with you, if you think you can work on it and give it back to the ofbiz community. > I am very big fan of Open Source projects, specially the Open Source projects associated with ASL 2.0. I hate the proprietary software development concept & same applies to colleagues working at HotWax Media. So if you share the code and suppose I plan to use your code & improve it then for sure through my way your code will go to OFBiz trunk only. > > Rohit > > > smime.p7s (4K) Download Attachment |
Very special thanks to Scott Gray for discussing things off the list
with me. -- Ashish Ashish Vijaywargiya wrote: > Hello Rohit, > > First of all I would like to share my feelings on this topic. > Finally I got success to get XML string on the callback url, and I > received string on the http port instead of https port. > I was trying to read the XML string from the connection URL object and > finally after reviewing your code I noticed that you were reading > inputStream from the request object and that did the trick for me. > Thanks a lot Rohit for sharing code. > > Special thanks to Marco for sharing his thoughts. > > Now we are ready to take another step in google checkout to parse > notification string, create Order in OFBiz etc etc. > Please see my comments inline: > > -- > Ashish > > smime.p7s (4K) Download Attachment |
Free forum by Nabble | Edit this page |