Hey pritam ..
Thanks for your response ,I appreciate it.

I checked the entities that you mentioned above and it looks ok to me.
i'm getting a warning in the console saying no payment preference was
found..

Below are the logs that were generated.
|I| Running Service ECA Service: releaseOrderPayments, triggered by rule on
Service: changeOrderStatus
2020-09-10 13:48:54,303 |jsse-nio-8443-exec-3 |PaymentGatewayServices
 |W| No OrderPaymentPreference records available for release
2020-09-10 13:48:54,304 |jsse-nio-8443-exec-3 |ServiceDispatcher
  |T| Sync service [order/releaseOrderPayments] finished in [2] milliseconds

other than that everything looks good in the logs..
I tried to debug ..and i'm getting the  warning from the service called  "
*releaseOrderPayments*"
Service Implementation Location
ofbiz-framework/applications/accounting/src/main/java/org/apache/ofbiz/accounting/payment/PaymentGatewayServices.java
At line 772.

Thanks and regards
Madhi Krishnan

On Thu, Sep 10, 2020 at 12:56 PM Pritam Kute <[email protected]>
wrote:

> Hello Madhi,
>
> Not sure but can you check if you have associated your custom method with
> the right ProductStorePaymentSetting?
>
> <ProductStorePaymentSetting productStoreId="${productStoreId}"
> paymentMethodTypeId="CREDIT_CARD"
> paymentServiceTypeEnumId="PRDS_PAY_REFUND" paymentService="testCCRefund"
> paymentCustomMethodId="CC_REFUND_TEST"/>
>
> You can either put your payment gateway service name in paymentService of
> the custom method ID in paymentCustomMethodId field.
>
> It will be good if you can post the error log here if this is not a case.
>
> Kind Regards,
> --
> Pritam Kute
>
>
> On Thu, Sep 10, 2020 at 4:42 AM Madhi Krishnan <
> [email protected]> wrote:
>
> > Hii community,
> > Hope you all are doing well.
> >
> > I'm using an external Payment gateway in my ecommerce setup ,and I'm able
> > to place orders using an external gateway..
> > My question is, I'm struggling to call the refund api if the user cancels
> > an order line in an order.
> > I have configured the custom_method entity as well..
> > let me know if I'm missing something..
> >
> > Thanks & Regards
> > Madhi Krishnan
> >
>

Reply via email to