Skip to content

Commit

Permalink
Merge pull request #22 from samehdoush/master
Browse files Browse the repository at this point in the history
add payment parameter on paytabs
  • Loading branch information
peter-tharwat authored Aug 3, 2023
2 parents 0419e4d + aa5c1f3 commit 669760a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Classes/PaytabsPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public function pay(
"hide_shipping" => true,
"cart_description" => "items",
"paypage_lang" => $this->paytabs_checkout_lang,
"callback" => route($this->verify_route_name,['payment_id'=>$unique_id]), //Post end point -the payment status will be sent to server
"return" => route($this->verify_route_name,['payment_id'=>$unique_id]), //Get end point - The link to which the user will be redirected
"callback" => route($this->verify_route_name,['payment_id'=>$unique_id,'payment' => "paytabs"]), //Post end point -the payment status will be sent to server
"return" => route($this->verify_route_name,['payment_id'=>$unique_id,'payment' => "paytabs"]), //Get end point - The link to which the user will be redirected
"customer_ref" => $unique_id,
"customer_details" => [
"name" => $this->user_first_name . ' ' . $this->user_last_name,
Expand Down

0 comments on commit 669760a

Please sign in to comment.