Skip to content

Refund status API calling wrong endpoint #72

@Aniket-IN

Description

@Aniket-IN

Hi,
I think the refund status api calling the wrong endpoint,
it's calling the txn status endpoint noy the Refund Status endpoint.

I'm doing like:

$refundStatus = PaytmWallet::with('refund_status');
$refundStatus->prepare([
    'order' => '3-1652688667',
    'reference' => 'R1-3-1652688667',
]);
$refundStatus->check();

it retuns status of the received payment's status, not the refunded txn.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions