You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by kacireddy <ch...@gmail.com> on 2006/09/13 09:16:17 UTC

paypal authorization & capture in ofbiz


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
-- 
View this message in context: http://www.nabble.com/paypal-authorization---capture-in-ofbiz-tf2263397.html#a6280263
Sent from the OFBiz - User forum at Nabble.com.


Re: paypal authorization & capture in ofbiz

Posted by Daniel Kunkel <Da...@BioWaves.com>.
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


Re: paypal authorization & capture in ofbiz

Posted by kacireddy <ch...@gmail.com>.
 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
-- 
View this message in context: http://www.nabble.com/paypal-authorization---capture-in-ofbiz-tf2263397.html#a6280573
Sent from the OFBiz - User forum at Nabble.com.


Re: paypal authorization & capture in ofbiz

Posted by Daniel Kunkel <Da...@BioWaves.com>.
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