-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display Link as payment method on order received page with setup inte…
…nts (#8764) Co-authored-by: Timur Karimov <[email protected]> Co-authored-by: Timur Karimov <[email protected]> Co-authored-by: Brett Shumaker <[email protected]>
- Loading branch information
1 parent
1d5b91a
commit 7f75c4d
Showing
3 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: fix | ||
Comment: Minor change to Link payment method display. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,16 @@ public function get_redacted_email( $context = 'view' ) { | |
return $this->redact_email_address( $this->get_email( $context ) ); | ||
} | ||
|
||
/** | ||
* Returns the type of this payment token (CC, eCheck, or something else). | ||
* | ||
* @param string $deprecated Deprecated since WooCommerce 3.0. | ||
* @return string Payment Token Type (CC, eCheck) | ||
*/ | ||
public function get_type( $deprecated = '' ) { | ||
return self::TYPE; | ||
} | ||
|
||
/** | ||
* Transforms email address into redacted/shortened format like ***[email protected]. | ||
* Using shortened length of four characters will mimic CC last-4 digits of card number. | ||
|