Skip to content

Commit

Permalink
Use payment info getters/setters for payment_method instead of `met…
Browse files Browse the repository at this point in the history
…hod` property.
  • Loading branch information
rvdsteege committed Oct 7, 2021
1 parent b3ff46a commit 4865b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function get_supported_payment_methods() {
* @param Payment $payment Payment object.
*/
public function start( Payment $payment ) {
$payment_method = $payment->get_method();
$payment_method = $payment->get_payment_method();

$transaction_description = $payment->get_description();

Expand Down

0 comments on commit 4865b8f

Please sign in to comment.