Skip to content

PAY Jobs TEST - Partial Refunds #20376

Closed
Closed

Description

@Jxio
No description provided.

Activity

  1. added
    Pay
    on Mar 19, 2024
  2. self-assigned this
    on Jul 12, 2024
  3. Jxio commented on Jul 19, 2024

    @Jxio
    CollaboratorAuthor

    get test invoices by sql:

    select i.id, i.payment_method_code, total, paid, service_fees, corp_type_code, 
    	ir.invoice_number, ir.status_code, i.payment_date
    	from invoices i
    	inner join invoice_references ir on ir.invoice_id = i.id 
    	left join cfs_accounts ca on i.cfs_account_id = ca.id
    	where i.payment_method_code in ('DIRECT_PAY', 'CC') 
    	and invoice_status_code in ('PAID')
    	and ca.status in ('ACTIVE');
    

    in payment-jobs, partial refund disbursement only support DIRECT_PAY(credit card payment method) for now, when I send partial refund request on TEST,
    https://pay-api-test.apps.silver.devops.gov.bc.ca/api/v1/payment-requests/00720381/refunds, I got:
    image.png
    it can't be processed for disbursement.
    image.png
    ^-- created a ticket for above issue -> 22375

  4. changed the title [-]PAY Jobs TEST - Disbursement Process handle Partial Refunds[/-] [+]PAY Jobs TEST - Partial Refunds[/+] on Jul 23, 2024
  5. Jxio commented on Jul 23, 2024

    @Jxio
    CollaboratorAuthor

    here is an example from partial refund test process:
    image.png
    image.png
    Basically it disburse service fee for now, but it should not; and it need wording to identify it's a partial refund or not.
    for above issue, Travis will handle it on ticket 21519. Closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Pay

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions