Google Checkout integration in OFBiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Google Checkout integration in OFBiz

mrisaliti@libero.it
Hi to all,

I'm now starting to change the Google Checkout integration in OFBiz to support the new PaymentGatewayConfig entity and I'm thinking how we could improve also this integration.
First question is how we could handle Google Checkout into ProductStorePaymentSetting as a credit card or as an external payment method type ?
The flow during the checkout into the ecommerce is different than a normal credit card payment gateway because we need to send to Google Checkout the entire OFBiz shopping cart and then an user will be forwarded to the Google Checkout site and confirm it.
After that Google send a notification to OFBiz about new order creation and then we could create a real order into OFBiz.
Once the order has been created into OFBiz we need to handle the various requests of credit card (authorize, capture, release, ...).
So it seems to me that we could handle it has credit card but with a specific payment method type (GOOGLE_CHECKOUT) instead of using credit card.
Any suggestions will be appreciate.

Thanks
Marco


Reply | Threaded
Open this post in threaded view
|

Re: Google Checkout integration in OFBiz

BJ Freeman
external like paypal.
should create the order from the shopping cart then send to google for
payment.
once you get the notification back you can store the payment data but
not process it since google has done that already.

least that is my two cents.

[hidden email] sent the following on 5/13/2009 4:25 AM:

> Hi to all,
>
> I'm now starting to change the Google Checkout integration in OFBiz to support the new PaymentGatewayConfig entity and I'm thinking how we could improve also this integration.
> First question is how we could handle Google Checkout into ProductStorePaymentSetting as a credit card or as an external payment method type ?
> The flow during the checkout into the ecommerce is different than a normal credit card payment gateway because we need to send to Google Checkout the entire OFBiz shopping cart and then an user will be forwarded to the Google Checkout site and confirm it.
> After that Google send a notification to OFBiz about new order creation and then we could create a real order into OFBiz.
> Once the order has been created into OFBiz we need to handle the various requests of credit card (authorize, capture, release, ...).
> So it seems to me that we could handle it has credit card but with a specific payment method type (GOOGLE_CHECKOUT) instead of using credit card.
> Any suggestions will be appreciate.
>
> Thanks
> Marco
>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: Google Checkout integration in OFBiz

mrisaliti@libero.it
In reply to this post by mrisaliti@libero.it
Hi Bj,

it's a little bit different than PayPal because the order into OFBiz has to be created only after confirmed by Google Checkout and they send back a new order notification to OFBiz.

So the steps are the following:
- Fill the OFBiz cart.
- Press the button Google Checkout and redirect to Google Checkout site.
- On the Google Checkout site check the shopping cart and at the end create the order.
- Once the order has been created into Google Checkout they will send to OFBiz an new-order-notification and when it will happens we need to read this notification and create an order into OFBiz with all the informations contained on it.
- When the order has been created the fullfilled people could authorize/capture the amount of the order directly from the order form.

Thanks
Marco


> external like paypal.
> should create the order from the shopping cart then send to google for
> payment.
> once you get the notification back you can store the payment data but
> not process it since google has done that already.
>
> least that is my two cents.
>
> [hidden email] sent the following on 5/13/2009 4:25 AM:
> > Hi to all,
> >
> > I'm now starting to change the Google Checkout integration in OFBiz to support the new PaymentGatewayConfig entity and I'm thinking how we could improve also this integration.
> > First question is how we could handle Google Checkout into ProductStorePaymentSetting as a credit card or as an external payment method type ?
> > The flow during the checkout into the ecommerce is different than a normal credit card payment gateway because we need to send to Google Checkout the entire OFBiz shopping cart and then an user will be forwarded to the Google Checkout site and confirm it.
> > After that Google send a notification to OFBiz about new order creation and then we could create a real order into OFBiz.
> > Once the order has been created into OFBiz we need to handle the various requests of credit card (authorize, capture, release, ...).
> > So it seems to me that we could handle it has credit card but with a specific payment method type (GOOGLE_CHECKOUT) instead of using credit card.
> > Any suggestions will be appreciate.
> >
> > Thanks
> > Marco
> >
> >
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Google Checkout integration in OFBiz

BJ Freeman
In reply to this post by mrisaliti@libero.it
i agree it is more difficult.
let me review what I see the steps are to see if I am on the same page
as you.
1)Customer fills ofbiz shopping cart
2) when it comes to payment that info is sent to google for authorizing
the card through thier gateway.
3) Google sends back a AUTHORIZATION_AMOUNT_NOTIFICATION
4) this is put i place of a CC authorization through gateways.
5) at ship time a charge is sent to google and ofbiz gets back a
CHARGE_AMOUNT_NOTIFICATION.

also we have to be able to handle the ORDER_STATE_CHANGE_NOTIFICATION,
REFUND_AMOUNT_NOTIFICATION, and CHARGEBACK_AMOUNT_NOTIFICATION

My reason for suggesting the external payment, is the payment processing
is done thru google, like paypal, not through a gateway supported by ofbiz.

I don't see why we can create the order first then update it when the
google returns. however it is more the programmers choice.
google check out was meant more for sites where there is no cart, perse.
since ofbiz has a cart and can created an order from it, then sync the
information when google sends their new-order-notification, which to
ofbiz would really be an order confirmation.
This also allows for retries if for some reason google fails to process
the order.
Unless you are suggesting that Google type of interface also be
instituted on the ecommerce pages so there is no interaction with ofbiz
cart at all.


[hidden email] sent the following on 5/14/2009 2:27 AM:

> Hi Bj,
>
> it's a little bit different than PayPal because the order into OFBiz has to be created only after confirmed by Google Checkout and they send back a new order notification to OFBiz.
>
> So the steps are the following:
> - Fill the OFBiz cart.
> - Press the button Google Checkout and redirect to Google Checkout site.
> - On the Google Checkout site check the shopping cart and at the end create the order.
> - Once the order has been created into Google Checkout they will send to OFBiz an new-order-notification and when it will happens we need to read this notification and create an order into OFBiz with all the informations contained on it.
> - When the order has been created the fullfilled people could authorize/capture the amount of the order directly from the order form.
>
> Thanks
> Marco
>
>
>> external like paypal.
>> should create the order from the shopping cart then send to google for
>> payment.
>> once you get the notification back you can store the payment data but
>> not process it since google has done that already.
>>
>> least that is my two cents.
>>
>> [hidden email] sent the following on 5/13/2009 4:25 AM:
>>> Hi to all,
>>>
>>> I'm now starting to change the Google Checkout integration in OFBiz to support the new PaymentGatewayConfig entity and I'm thinking how we could improve also this integration.
>>> First question is how we could handle Google Checkout into ProductStorePaymentSetting as a credit card or as an external payment method type ?
>>> The flow during the checkout into the ecommerce is different than a normal credit card payment gateway because we need to send to Google Checkout the entire OFBiz shopping cart and then an user will be forwarded to the Google Checkout site and confirm it.
>>> After that Google send a notification to OFBiz about new order creation and then we could create a real order into OFBiz.
>>> Once the order has been created into OFBiz we need to handle the various requests of credit card (authorize, capture, release, ...).
>>> So it seems to me that we could handle it has credit card but with a specific payment method type (GOOGLE_CHECKOUT) instead of using credit card.
>>> Any suggestions will be appreciate.
>>>
>>> Thanks
>>> Marco
>>>
>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.