PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.5
GiveWP – Donation Plugin and Fundraising Platform v4.15.5
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
give / src / PaymentGateways / PayPalCommerce / DonationDetailsPage.php

DonationDetailsPage.php in GiveWP – Donation Plugin and Fundraising Platform 4.15.5, at src/PaymentGateways/PayPalCommerce/DonationDetailsPage.php

26 lines 650 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\PaymentGateways\PayPalCommerce;
4
5 class DonationDetailsPage
6 {
7 /**
8 * Return PayPal Commerce payment details page url.
9 *
10 * @since 2.9.0
11 *
12 * @param string $transactionId donation transaction id.
13 *
14 * @return string
15 */
16 public function getPayPalPaymentUrl($transactionId)
17 {
18 return sprintf(
19 '<a href="%1$sactivity/payment/%2$s" title="%3$s" target="_blank">%2$s</a>',
20 esc_url(give(PayPalClient::class)->getHomePageUrl()),
21 esc_attr($transactionId),
22 esc_attr(esc_html__('View PayPal Commerce payment', 'give'))
23 );
24 }
25 }
26