Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 950ae7d

Browse files
author
plondon
committed
fix(Bitpay): show fee
1 parent d203441 commit 950ae7d

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

packages/blockchain-wallet-v4-frontend/src/data/components/sendBtc/sagas.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ export default ({ coreSagas, networks }) => {
9191
from: from || defaultAccountR.getOrElse(),
9292
feePerByte: defaultFeePerByte
9393
}
94+
if (payPro) {
95+
try {
96+
payment = yield payment.build()
97+
} catch (e) {
98+
yield put(
99+
actions.logs.logErrorMessage(logLocation, 'sendBtcInitialized', e)
100+
)
101+
}
102+
}
94103
yield put(initialize(FORM, initialValues))
95104
yield put(A.sendBtcPaymentUpdatedSuccess(payment.value()))
96105
} catch (e) {

packages/blockchain-wallet-v4-frontend/src/modals/Btc/SendBtc/FirstStep/template.success.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const FirstStep = props => {
346346
</FeeFormContainer>
347347
</ColLeft>
348348
<ColRight>
349-
<ComboDisplay size='13px' coin='BTC'>
349+
<ComboDisplay size='13px' weight={600} coin='BTC'>
350350
{totalFee}
351351
</ComboDisplay>
352352
<Link
@@ -389,14 +389,9 @@ const FirstStep = props => {
389389
defaultMessage='Network Fee'
390390
/>
391391
</FormLabel>
392-
<Row>
393-
<Field
394-
name='url'
395-
component={TextBox}
396-
input={{ value: '[as set up by BitPay]' }}
397-
disabled={true}
398-
/>
399-
</Row>
392+
<ComboDisplay size='13px' weight={600} coin='BTC'>
393+
{totalFee}
394+
</ComboDisplay>
400395
</FeeFormGroup>
401396
)}
402397
<FormGroup margin={'15px'}>

0 commit comments

Comments
 (0)