Skip to content

Commit

Permalink
feat(payment): INT-3061 renamed mandate field to mandateUrl on confir…
Browse files Browse the repository at this point in the history
…mation page
  • Loading branch information
BC-AxelMalagon committed Oct 15, 2020
1 parent df933f9 commit 04c0f15
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 45 deletions.
86 changes: 44 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/bigcommerce/checkout-js#readme",
"dependencies": {
"@bigcommerce/checkout-sdk": "^1.106.1",
"@bigcommerce/checkout-sdk": "^1.107.0",
"@bigcommerce/citadel": "^2.15.1",
"@bigcommerce/form-poster": "^1.2.2",
"@bigcommerce/memoize": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/order/OrderStatus.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('OrderStatus', () => {
beforeEach(() => {
order = {
...getOrder(),
mandate: 'mandateLink',
mandateUrl: 'mandateLink',
};
});

Expand Down
2 changes: 1 addition & 1 deletion src/app/order/OrderStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const OrderStatus: FunctionComponent<OrderStatusProps> = ({
/>
</p>

{ order.mandate && <a data-test="order-confirmation-mandate-link-text" href={ order.mandate } rel="noopener noreferrer" target="_blank">
{ order.mandateUrl && <a data-test="order-confirmation-mandate-link-text" href={ order.mandateUrl } rel="noopener noreferrer" target="_blank">
<TranslatedString
data={ { provider : getMandateProvider() } }
id="order_confirmation.mandate_link_text"
Expand Down

0 comments on commit 04c0f15

Please sign in to comment.