Closed remcotolsma closed 12 months ago
$payment->set_slug( $slug ); $slug = $payment->get_slug();
We can use this for the following issue:
$payment->set_transaction_id( $response->get_omnikassa_order_id() );
change to something like:
$payment->set_slug( 'rabo-smart-pay-order-' . $response->get_omnikassa_order_id() );
https://github.com/pronamic/wp-pay-core/blob/5859217757f9229f671c51b035cc191365c871b2/src/Payments/PaymentsDataStoreCPT.php#L274-L292
https://github.com/WordPress/wordpress-develop/blob/6.3/src/wp-includes/post.php#L4073-L4769
We can use this for the following issue:
change to something like:
https://github.com/pronamic/wp-pay-core/blob/5859217757f9229f671c51b035cc191365c871b2/src/Payments/PaymentsDataStoreCPT.php#L274-L292
https://github.com/WordPress/wordpress-develop/blob/6.3/src/wp-includes/post.php#L4073-L4769