Search code examples
paypalpaypal-sandboxpaypal-rest-sdkomnipaysymfony-2.7

How i can find which request method is used for paypal integration


i m new to paypal integration can any one please help me with how i can find which request method is used for paypal itegration. when i click on pay button following calles made :

  1. logtimeout(GET)
  2. auth?(GET)
  3. setbuyer(POST)
  4. p1(POST)
  5. p2(POST)

So, i m confuse which method is actually making call to paypal for payment. Paypal is Discontinuing GET method so i want to chang GET to POST

Thanks in advance ...


Solution

  • If you are using the PayPal Express omnipay gateway (PayPal_Express) then all of the calls in that gateway are POST calls. There are no GET calls in use, they were all converted to POST calls some time ago when PayPal announced that they were deprecating the use of GET calls.

    In general I would advise use of the PayPal_REST gateway rather than PayPal_Express, the calls are more up to date and the documentation is better. You can go into your developer site for PayPal and obtain API keys for REST which you can use alongside your Express keys while you change over.