-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
There is an issue with starting first payments with some integrations since the Pronamic Pay 9.6 release. This has to do with recent changes in setting the Mollie sequence type:
The underlying issue is PaymentInfo::get_meta() falling back to get_post_meta(), which results in an empty string instead of null value if there is no meta stored for the given meta key.
wp-pay-core/src/Payments/PaymentInfo.php
Lines 440 to 458 in a6f6c6c
| /** | |
| * Get the meta value of this specified meta key. | |
| * | |
| * @param string $key Meta key. | |
| * @return mixed | |
| */ | |
| public function get_meta( $key ) { | |
| if ( \array_key_exists( $key, $this->meta ) ) { | |
| return $this->meta[ $key ]; | |
| } | |
| if ( null === $this->id ) { | |
| return null; | |
| } | |
| $key = $this->meta_key_prefix . $key; | |
| return get_post_meta( $this->id, $key, true ); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done