Skip to content

Commit 6f5de44

Browse files
committed
Merge pull request #492 from magento-mpi/MAGETWO-47544
[MPI] Bug Fixes
2 parents 3b7548a + c7c9519 commit 6f5de44

File tree

4 files changed

+7
-6
lines changed
  • app/code/Magento
  • dev/tests/integration/testsuite/Magento/Paypal/Model/Config/Structure/Reader/_files/expected

4 files changed

+7
-6
lines changed

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/paypal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ define([
205205
container: 'paypal-container',
206206
singleUse: true,
207207
headless: true,
208-
amount: this.amount,
208+
amount: this.grandTotalAmount,
209209
currency: totals['base_currency_code'],
210210
locale: this.getLocale(),
211211
enableShippingAddress: true,

app/code/Magento/Paypal/etc/adminhtml/system/paypal_payflowpro.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<fieldset_css>pp-method-payflow</fieldset_css>
1313
<comment>Connect your merchant account with a fully customizable gateway that lets customers pay without leaving your site.</comment>
1414
<attribute type="activity_path">payment/payflowpro/active</attribute>
15-
<more_url>https://www.paypal.com/webapps/mpp/referral/paypal-payflow-pro?partner_id=NB9WWHYEMVUMS</more_url>
15+
<more_url>https://www.paypal.com/webapps/mpp/payflow-payment-gateway?partner_id=NB9WWHYEMVUMS</more_url>
1616
<attribute type="paypal_ec_separate">1</attribute>
1717
<group id="paypal_payflow_required" translate="label" showInDefault="1" showInWebsite="1" sortOrder="10">
1818
<label>Required PayPal Settings</label>

app/code/Magento/Vault/view/frontend/templates/customer_account/credit_card.phtml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ use Magento\Vault\Block\CardRendererInterface;
99

1010
/** @var CardRendererInterface|Template $block */
1111

12-
$ccNumberView = 'xxxx-xxxx-xxxx-' . $block->escapeHtml($block->getNumberLast4Digits());
12+
$ccNumberView = $block->escapeHtml($block->getNumberLast4Digits());
1313
?>
1414
<tr>
1515
<td data-th="<?php echo $block->escapeHtml(__('Card Number')) ?>" class="col card-number">
16-
<?php /* @noEscape */ echo $ccNumberView ?>
16+
<span><?php echo $block->escapeHtml(__('ending')); ?></span> <?php /* @noEscape */ echo $ccNumberView ?>
1717
</td>
1818
<td data-th="<?php echo $block->escapeHtml(__('Expiration Date')) ?>" class="col card-expire">
1919
<?php echo $block->escapeHtml($block->getExpDate()); ?>
@@ -27,7 +27,7 @@ $ccNumberView = 'xxxx-xxxx-xxxx-' . $block->escapeHtml($block->getNumberLast4Dig
2727
<td data-th="<?php echo $block->escapeHtml(__('Actions')) ?>" class="col actions">
2828
<form
2929
class="form"
30-
action="<?php /* @escapeNotVerified */ echo $block->getUrl('vault/cards/deleteaction') ?>"
30+
action="<?php echo $block->escapeUrl($block->getUrl('vault/cards/deleteaction')); ?>"
3131
method="post"
3232
>
3333
<?php echo $block->getBlockHtml('formkey')?>
@@ -50,5 +50,6 @@ $ccNumberView = 'xxxx-xxxx-xxxx-' . $block->escapeHtml($block->getNumberLast4Dig
5050
}'>
5151
<span><?php echo $block->escapeHtml(__('Delete')) ?></span>
5252
</button>
53+
</form>
5354
</td>
5455
</tr>

dev/tests/integration/testsuite/Magento/Paypal/Model/Config/Structure/Reader/_files/expected/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<fieldset_css>pp-method-payflow</fieldset_css>
3333
<comment>Connect your merchant account with a fully customizable gateway that lets customers pay without leaving your site.</comment>
3434
<attribute type="activity_path">payment/payflowpro/active</attribute>
35-
<more_url>https://www.paypal.com/webapps/mpp/referral/paypal-payflow-pro?partner_id=NB9WWHYEMVUMS</more_url>
35+
<more_url>https://www.paypal.com/webapps/mpp/payflow-payment-gateway?partner_id=NB9WWHYEMVUMS</more_url>
3636
<attribute type="paypal_ec_separate">1</attribute>
3737
<group id="paypal_payflow_required" translate="label" showInDefault="1" showInWebsite="1" sortOrder="10">
3838
<label>Required PayPal Settings</label>

0 commit comments

Comments
 (0)