Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BRAAV-1092] Add page to trigger creation of an incoming wire #76

Merged
merged 8 commits into from
Sep 22, 2020

Conversation

jcantwell
Copy link
Contributor

Also made some changes to the chargeback mock endpoint to be consistent
with paths used for mock

Also made some changes to the chargeback mock endpoint to be consistent
with paths used for mock
@jcantwell jcantwell changed the title (WIP) Add page to trigger creation of an incoming wire [BRAAV-1092] Add page to trigger creation of an incoming wire Sep 21, 2020
},
{
title: 'POST /mocks/payments/incomingWires',
to: '/debug/payments/mocks/incomingWire',
Copy link
Contributor

@timmy-circle timmy-circle Sep 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would incomingWire makes sense to client if we expose it as api path for mock push payment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though incomingWires would be more understandable than pushPayment but open to suggestions on that one

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed offline. Will be using wirePayment this will also help us distinguish with ach

@@ -1,5 +1,4 @@
import chargebacksApi, {
CreateMockChargebackPayload,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can also simply remove the bracket here for formatting since we're only importing chargebacksApi

lib/mocksApi.ts Outdated
import { getAPIHostname } from './apiTarget'

export interface CreateMockIncomingWirePayload {
trackingRefId: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -90,6 +90,12 @@
Refund payment
</a>
</p>
<p v-if="isSandbox">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to check isSmokebox as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm, ignore me. I see you checking against isLive().

alandn-circle
alandn-circle previously approved these changes Sep 21, 2020
@jcantwell jcantwell merged commit 5dc8dc4 into circlefin:master Sep 22, 2020
@jcantwell jcantwell deleted the incoming_wire_mock branch September 22, 2020 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants