Ofbiz Payment Integration

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

Ofbiz Payment Integration

Shrilesh Korgaonkar
*Hi Guys,*

*I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
*did anybody has done that before, **help me if possible?*
*And if not then can anybody tell*
*how to Integrate a new payment method or payment gateway?*
*OR*
*how does the payment method work or the structure checkout process to
payment?*


*Regards,*
*Shrilesh K.*
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz Payment Integration

Rishi Solanki
Dear Shirlesh,
All payment service providers basically 5 methods. Authorize, Capture,
Refund, Void/Release and Settle. To integrate into OFBiz you need to write
5 services depending upon the payment service providers APIs.
To check how they get invoked, please refer ProductStorePaymentSetting
entity and related code in OFBiz. Also check the code in the
PaymentGatewayServices class to see how it uses ProductStorePaymentSetting
while doing checkout or payment.

HTH!

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*
<https://www.linkedin.com/in/rishi-solanki-62271b7/>
Direct: +91-9893287847


On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
[hidden email]> wrote:

> *Hi Guys,*
>
> *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
> *did anybody has done that before, **help me if possible?*
> *And if not then can anybody tell*
> *how to Integrate a new payment method or payment gateway?*
> *OR*
> *how does the payment method work or the structure checkout process to
> payment?*
>
>
> *Regards,*
> *Shrilesh K.*
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz Payment Integration

Shrilesh Korgaonkar
Hi Rishi,
Thank for ur reply

I was thinking of external payment service like hand over the user to the payment gateway and after payment success or failure, he comes back to the website
I created a service add a new ext_payumoney
this is the error I'm getting 
org.apache.ofbiz.webapp.control.RequestHandlerException: Illegal response; handler could not process request [checkExternalPayment] and event return [payumoney].


can u able to help me in that, if possible?
And once again thank you, bro,


Regards,
Shrilesh K.

On Fri, Mar 29, 2019 at 2:08 PM Rishi Solanki <[hidden email]> wrote:
Dear Shirlesh,
All payment service providers basically 5 methods. Authorize, Capture,
Refund, Void/Release and Settle. To integrate into OFBiz you need to write
5 services depending upon the payment service providers APIs.
To check how they get invoked, please refer ProductStorePaymentSetting
entity and related code in OFBiz. Also check the code in the
PaymentGatewayServices class to see how it uses ProductStorePaymentSetting
while doing checkout or payment.

HTH!

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*
<https://www.linkedin.com/in/rishi-solanki-62271b7/>
Direct: +91-9893287847


On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
[hidden email]> wrote:

> *Hi Guys,*
>
> *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
> *did anybody has done that before, **help me if possible?*
> *And if not then can anybody tell*
> *how to Integrate a new payment method or payment gateway?*
> *OR*
> *how does the payment method work or the structure checkout process to
> payment?*
>
>
> *Regards,*
> *Shrilesh K.*
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz Payment Integration

Rishi Solanki
Dear Shrilesh,
Please refer payment method type starts with EXT_ (for example EXT_PAYPAL).
You may need to follow it, like it never handles the auth request because
in case of external payment AUTH is payment gateway responsibility and
taken care by it. Instead of service we do redirection to payment gateway
service provider URL.

It seems the returnurl you put in the configuration is not able to
entertain the response from payumoney, you may need to write proper handler
for that. In short, you can follow the EXT_PAYPAL flow.

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*
<https://www.linkedin.com/in/rishi-solanki-62271b7/>
Direct: +91-9893287847


On Mon, Apr 8, 2019 at 5:54 PM Shrilesh Korgaonkar <
[hidden email]> wrote:

> Hi Rishi,
> Thank for ur reply
>
> I was thinking of external payment service like hand over the user to the
> payment gateway and after payment success or failure, he comes back to the
> website
> I created a service add a new ext_payumoney
> this is the error I'm getting
> org.apache.ofbiz.webapp.control.RequestHandlerException: Illegal response;
> handler could not process request [checkExternalPayment] and event return
> [payumoney].
>
>
> can u able to help me in that, if possible?
> And once again thank you, bro,
>
>
> Regards,
> Shrilesh K.
>
> On Fri, Mar 29, 2019 at 2:08 PM Rishi Solanki <[hidden email]>
> wrote:
>
>> Dear Shirlesh,
>> All payment service providers basically 5 methods. Authorize, Capture,
>> Refund, Void/Release and Settle. To integrate into OFBiz you need to write
>> 5 services depending upon the payment service providers APIs.
>> To check how they get invoked, please refer ProductStorePaymentSetting
>> entity and related code in OFBiz. Also check the code in the
>> PaymentGatewayServices class to see how it uses ProductStorePaymentSetting
>> while doing checkout or payment.
>>
>> HTH!
>>
>> Best Regards,
>> --
>> *Rishi Solanki* | Sr Manager, Enterprise Software Development
>> HotWax Systems <http://www.hotwaxsystems.com/>
>> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
>> Indore,
>> M.P 452010
>> Linkedin: *Rishi Solanki*
>> <https://www.linkedin.com/in/rishi-solanki-62271b7/>
>> Direct: +91-9893287847
>>
>>
>> On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
>> [hidden email]> wrote:
>>
>> > *Hi Guys,*
>> >
>> > *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
>> > *did anybody has done that before, **help me if possible?*
>> > *And if not then can anybody tell*
>> > *how to Integrate a new payment method or payment gateway?*
>> > *OR*
>> > *how does the payment method work or the structure checkout process to
>> > payment?*
>> >
>> >
>> > *Regards,*
>> > *Shrilesh K.*
>> >
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz Payment Integration

Shrilesh Korgaonkar
Thank for replies
I'm able to create an external payment

Regards,
Shrilesh K.


On Tue, Apr 9, 2019 at 11:27 AM Rishi Solanki <[hidden email]>
wrote:

> Dear Shrilesh,
> Please refer payment method type starts with EXT_ (for example EXT_PAYPAL).
> You may need to follow it, like it never handles the auth request because
> in case of external payment AUTH is payment gateway responsibility and
> taken care by it. Instead of service we do redirection to payment gateway
> service provider URL.
>
> It seems the returnurl you put in the configuration is not able to
> entertain the response from payumoney, you may need to write proper handler
> for that. In short, you can follow the EXT_PAYPAL flow.
>
> Best Regards,
> --
> *Rishi Solanki* | Sr Manager, Enterprise Software Development
> HotWax Systems <http://www.hotwaxsystems.com/>
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Rishi Solanki*
> <https://www.linkedin.com/in/rishi-solanki-62271b7/>
> Direct: +91-9893287847
>
>
> On Mon, Apr 8, 2019 at 5:54 PM Shrilesh Korgaonkar <
> [hidden email]> wrote:
>
> > Hi Rishi,
> > Thank for ur reply
> >
> > I was thinking of external payment service like hand over the user to the
> > payment gateway and after payment success or failure, he comes back to
> the
> > website
> > I created a service add a new ext_payumoney
> > this is the error I'm getting
> > org.apache.ofbiz.webapp.control.RequestHandlerException: Illegal
> response;
> > handler could not process request [checkExternalPayment] and event return
> > [payumoney].
> >
> >
> > can u able to help me in that, if possible?
> > And once again thank you, bro,
> >
> >
> > Regards,
> > Shrilesh K.
> >
> > On Fri, Mar 29, 2019 at 2:08 PM Rishi Solanki <[hidden email]>
> > wrote:
> >
> >> Dear Shirlesh,
> >> All payment service providers basically 5 methods. Authorize, Capture,
> >> Refund, Void/Release and Settle. To integrate into OFBiz you need to
> write
> >> 5 services depending upon the payment service providers APIs.
> >> To check how they get invoked, please refer ProductStorePaymentSetting
> >> entity and related code in OFBiz. Also check the code in the
> >> PaymentGatewayServices class to see how it uses
> ProductStorePaymentSetting
> >> while doing checkout or payment.
> >>
> >> HTH!
> >>
> >> Best Regards,
> >> --
> >> *Rishi Solanki* | Sr Manager, Enterprise Software Development
> >> HotWax Systems <http://www.hotwaxsystems.com/>
> >> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> >> Indore,
> >> M.P 452010
> >> Linkedin: *Rishi Solanki*
> >> <https://www.linkedin.com/in/rishi-solanki-62271b7/>
> >> Direct: +91-9893287847
> >>
> >>
> >> On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
> >> [hidden email]> wrote:
> >>
> >> > *Hi Guys,*
> >> >
> >> > *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
> >> > *did anybody has done that before, **help me if possible?*
> >> > *And if not then can anybody tell*
> >> > *how to Integrate a new payment method or payment gateway?*
> >> > *OR*
> >> > *how does the payment method work or the structure checkout process to
> >> > payment?*
> >> >
> >> >
> >> > *Regards,*
> >> > *Shrilesh K.*
> >> >
> >>
> >
>