This commit is contained in:
Pedro Silva 2023-11-24 16:18:15 +00:00
parent f24ec78c28
commit 9e0322ba9a
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
2 changed files with 5 additions and 5 deletions

View file

@ -600,7 +600,7 @@ class PayPalSubscriptionsModule implements ModuleInterface {
'ppcp_paypal_subscription',
__( 'PayPal Subscription', 'woocommerce-paypal-payments' ),
function() use ( $subscription_id, $host ) {
$url = trailingslashit( $host ) . 'billing/subscriptions/' . $subscription_id;
$url = trailingslashit( $host ) . 'billing/subscriptions/' . $subscription_id;
echo '<p>' . esc_html__( 'This subscription is linked to a PayPal Subscription, Cancel it to unlink.', 'woocommerce-paypal-payments' ) . '</p>';
echo '<p><strong>' . esc_html__( 'Subscription:', 'woocommerce-paypal-payments' ) . '</strong> <a href="' . esc_url( $url ) . '" target="_blank">' . esc_attr( $subscription_id ) . '</a></p>';
},