How to integrate Paytabs in php?

Paytabs gateway integration in php

Senior Developer Asked on February 12, 2017 in PAYMENT GATEWAY.
Add Comment
2 Answer(s)

    Sample Button Code for Minimal Express CheckOut

    <link rel="stylesheet" href="https://www.paytabs.com/express/express.css">
    <script src="https://www.paytabs.com/theme/express_checkout/js/jquery-1.11.1.min.js"></script>
    <script src="https://www.paytabs.com/express/express_checkout_v3.js"></script>
    <!– Button Code for PayTabs Express Checkout –>
    <div class="PT_express_checkout"></div>
    <script type="text/javascript">
    Paytabs("#express_checkout").expresscheckout({
    settings:{
    secret_key: "YOUR_SECRET_KEY",
    merchant_id: "YOUR_PAYTABS_MERCHANT_ID eg 10001234",
    amount: "10.00",
    currency: "USD",
    title: "Test Express Checkout Transaction",
    product_names: "Product1",
    order_id: 25,
    url_redirect: "https://www.YOURWEBSITE.com/return_url/"
    }
    });
    </script>

    Team Leader Answered on February 14, 2017.
    Add Comment

      i tried  this but i dont see any change

      and where is the button for checkin please help me

      <div class=”PT_express_checkout”></div>

      Paytabs(“#express_checkout”).expresscheckout({
      settings:{
      secret_key: “key”,
      merchant_id: “id”,
      amount: “10.00”,
      currency: “USD”,
      title: “Test Express Checkout Transaction”,
      product_names: “Product1,Product2,Product3”,
      order_id: 25,
      url_redirect: “https://www.YOURWEBSITE.com/return_url/”
      }
      });

      Default Answered on November 14, 2017.

      Please add the below scripts into your code and replace your realtime secret_key & merchant_id

      <link rel="stylesheet" href="https://www.paytabs.com/express/express.css">
      <script src="https://www.paytabs.com/theme/express_checkout/js/jquery-1.11.1.min.js"></script>
      <script src="https://www.paytabs.com/express/express_checkout_v3.js"></script>

      on November 24, 2017.
      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.