Skip to content

Commit

Permalink
rename payment_id to transaction_id
Browse files Browse the repository at this point in the history
  • Loading branch information
2hmad committed Mar 23, 2023
1 parent e3db6fb commit c95a36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/PaymobGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function initPayment(
);

return [
"payment_id" => json_decode($registerOrder->getBody())->id,
"transaction_id" => json_decode($registerOrder->getBody())->id,
"payment_key" => json_decode($paymentKey->getBody())->token,
"payment_url" =>
"https://accept.paymobsolutions.com/api/acceptance/iframes/$this->paymob_iframe_id?payment_token=" .
Expand Down

0 comments on commit c95a36e

Please sign in to comment.