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
>