paypal authorization & capture in ofbiz

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

paypal authorization & capture in ofbiz

kacireddy

Hi guys,


    Paypal is working fine in ofbiz. I am sending "paymentaction=authorization" parameter from ofbiz to paypal to authorize the order before capturing. But it is not working , can any body help me to solve this problem
Reply | Threaded
Open this post in threaded view
|

Re: paypal authorization & capture in ofbiz

Daniel Kunkel
Hi

I'm not sure if I can help or not...  We saw some really strange paypal
behavior a couple weeks ago, but it seems to be working again.

However, we had trouble way back accepting paypal payments manually, and
fixed it with the patch below.  

Do you want to give it a try and see if it works?


Index: applications/order/webapp/ordermgr/order/orderheader.ftl
===================================================================
--- applications/order/webapp/ordermgr/order/orderheader.ftl
(revision 436679)
+++ applications/order/webapp/ordermgr/order/orderheader.ftl    (working
copy)
@@ -282,7 +282,7 @@
                           </div>
                         </td>
                         <td width="5">&nbsp;</td>
-                        <#if paymentMethodType.paymentMethodTypeId !=
"EXT_OFFLINE">
+                        <#if paymentMethodType.paymentMethodTypeId !=
"EXT_OFFLINE" && paymentMethodType.paymentMethodTypeId != "EXT_PAYPAL">
                           <td align="left">
                             <div class="tabletext">
                               <#if orderPaymentPreference.maxAmount?
has_content>


Thanks

Daniel






On Wed, 2006-09-13 at 00:16 -0700, kacireddy wrote:
>
> Hi guys,
>
>
>     Paypal is working fine in ofbiz. I am sending
> "paymentaction=authorization" parameter from ofbiz to paypal to authorize
> the order before capturing. But it is not working , can any body help me to
> solve this problem

Reply | Threaded
Open this post in threaded view
|

Re: paypal authorization & capture in ofbiz

kacireddy
 Hi Danial ,

  Thank u for u r reply,
  I am placing order and accepting paypal payments successfully. But the payments are directly capturing with out authorizing.
  I have to authorize before capturing the payments.

Sandhya
Reply | Threaded
Open this post in threaded view
|

Re: paypal authorization & capture in ofbiz

Daniel Kunkel
Hi

I don't know what the best solution to that.

Daniel




On Wed, 2006-09-13 at 00:43 -0700, kacireddy wrote:
>  Hi Danial ,
>
>   Thank u for u r reply,
>   I am placing order and accepting paypal payments successfully. But the
> payments are directly capturing with out authorizing.
>   I have to authorize before capturing the payments.
>
> Sandhya