Skip to content

Commit

Permalink
Merge tag '4.3.1' into develop
Browse files Browse the repository at this point in the history
Tagging version 4.3.1.
  • Loading branch information
rvdsteege committed Jul 1, 2022
2 parents f590ca1 + 0cdc62c commit 40a63d7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## [Unreleased][unreleased]
-

## [4.3.1] - 2022-07-01
### Changed
- Updated logos library to version `1.8.3`.

## [4.3.0] - 2022-06-30
### Added
- Added billing and shipping address details to test payments.
Expand Down Expand Up @@ -514,7 +518,8 @@ This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a C
## 1.0.0
- First release.

[unreleased]: https://github.com/pronamic/wp-pay-core/compare/4.3.0...HEAD
[unreleased]: https://github.com/pronamic/wp-pay-core/compare/4.3.1...HEAD
[4.3.1]: https://github.com/pronamic/wp-pay-core/compare/4.3.0...4.3.1
[4.3.0]: https://github.com/pronamic/wp-pay-core/compare/4.2.1...4.3.0
[4.2.1]: https://github.com/pronamic/wp-pay-core/compare/4.2.0...4.2.1
[4.2.0]: https://github.com/pronamic/wp-pay-core/compare/4.1.3...4.2.0
Expand Down
14 changes: 7 additions & 7 deletions docs/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$payment` | `\Pronamic\WordPress\Pay\Payments\Payment` | Payment.

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 242](../src/Payments/PaymentsDataStoreCPT.php#L242-L247)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 243](../src/Payments/PaymentsDataStoreCPT.php#L243-L248)

### `pronamic_pay_pre_create_payment`

Expand All @@ -27,7 +27,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$payment` | `\Pronamic\WordPress\Pay\Payments\Payment` | Payment.

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 263](../src/Payments/PaymentsDataStoreCPT.php#L263-L268)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 264](../src/Payments/PaymentsDataStoreCPT.php#L264-L269)

### `pronamic_pay_new_payment`

Expand All @@ -39,7 +39,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$payment` | `\Pronamic\WordPress\Pay\Payments\Payment` | Payment.

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 298](../src/Payments/PaymentsDataStoreCPT.php#L298-L303)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 299](../src/Payments/PaymentsDataStoreCPT.php#L299-L304)

### `pronamic_payment_status_update_{$source}_{$old_status}_to_{$new_status}`

Expand All @@ -58,7 +58,7 @@ Argument | Type | Description
`$previous_status` | `null\|string` | Previous [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status).
`$updated_status` | `null\|string` | Updated [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status).

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 919](../src/Payments/PaymentsDataStoreCPT.php#L919-L931)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 920](../src/Payments/PaymentsDataStoreCPT.php#L920-L932)

### `pronamic_payment_status_update_{$source}`

Expand All @@ -75,7 +75,7 @@ Argument | Type | Description
`$previous_status` | `null\|string` | Previous [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status).
`$updated_status` | `null\|string` | Updated [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status)).

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 933](../src/Payments/PaymentsDataStoreCPT.php#L933-L943)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 934](../src/Payments/PaymentsDataStoreCPT.php#L934-L944)

### `pronamic_payment_status_update`

Expand All @@ -90,7 +90,7 @@ Argument | Type | Description
`$previous_status` | `null\|string` | Previous [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status).
`$updated_status` | `null\|string` | Updated [payment status](https://github.com/pronamic/wp-pronamic-pay/wiki#payment-status).

Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 945](../src/Payments/PaymentsDataStoreCPT.php#L945-L953)
Source: [src/Payments/PaymentsDataStoreCPT.php](../src/Payments/PaymentsDataStoreCPT.php), [line 946](../src/Payments/PaymentsDataStoreCPT.php#L946-L954)

### `pronamic_pay_privacy_register_exporters`

Expand Down Expand Up @@ -418,7 +418,7 @@ Argument | Type | Description
`$url` | `string` | Redirect URL.
`$payment` | `\Pronamic\WordPress\Pay\Payments\Payment` | Payment.

Source: [src/Plugin.php](../src/Plugin.php), [line 1285](../src/Plugin.php#L1285-L1291)
Source: [src/Plugin.php](../src/Plugin.php), [line 1284](../src/Plugin.php#L1284-L1290)

### `pronamic_gateway_configuration_display_value`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wp-pay/core",
"version": "4.3.0",
"version": "4.3.1",
"description": "Core components for the WordPress payment processing library.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/Cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function get_card( $bic_or_brand ) {
*/
public function get_card_logo_url( $brand ) {
return sprintf(
'https://cdn.wp-pay.org/jsdelivr.net/npm/@wp-pay/logos@1.8.2/dist/cards/%1$s/card-%1$s-logo-_x80.svg',
'https://cdn.wp-pay.org/jsdelivr.net/npm/@wp-pay/logos@1.8.3/dist/cards/%1$s/card-%1$s-logo-_x80.svg',
$brand
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Core/PaymentMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public static function get_icon_url( $method = null, $size = null ) {
}

return \sprintf(
'https://cdn.wp-pay.org/jsdelivr.net/npm/@wp-pay/logos@1.8.2/dist/methods/%1$s/method-%1$s-%2$s.svg',
'https://cdn.wp-pay.org/jsdelivr.net/npm/@wp-pay/logos@1.8.3/dist/methods/%1$s/method-%1$s-%2$s.svg',
\str_replace( '_', '-', $method ),
$size
);
Expand Down

0 comments on commit 40a63d7

Please sign in to comment.