Skip to content

Commit

Permalink
Updated array element in mobile banking charge method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashish committed Nov 1, 2023
1 parent 8722d96 commit 0c0f069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/gateway/class-omise-payment-mobilebanking.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function charge($order_id, $order)
);

$requestData['source'] = array_merge($requestData['source'], [
$requestData['platform_type'] = Omise_Util::get_platform_type(wc_get_user_agent())
'platform_type' => Omise_Util::get_platform_type(wc_get_user_agent())
]);
return OmiseCharge::create($requestData);
}
Expand Down

0 comments on commit 0c0f069

Please sign in to comment.