Skip to content

Commit

Permalink
PLGWOOS-718: Remove PSP ID string when register the transaction ID in…
Browse files Browse the repository at this point in the history
… WC_Order->payment_complete() (#362)
  • Loading branch information
danielcivit authored Aug 4, 2021
1 parent 7b7c25f commit 5accef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentMethods/PaymentMethodCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function process_callback(): void {

// If MultiSafepay transaction status is completed, payment_complete function will handle the order status change
if ( $this->get_multisafepay_transaction_status() === Transaction::COMPLETED ) {
$this->order->payment_complete( 'PSP ID: ' . $this->get_multisafepay_transaction_id() );
$this->order->payment_complete( $this->get_multisafepay_transaction_id() );
}

// If MultiSafepay transaction status is not completed and not initialized, process the notification according order status settings
Expand Down

0 comments on commit 5accef5

Please sign in to comment.