Paypal SDK PHP: check if client has unsubscribed the service

Discussion in 'PHP' started by webshore88, Dec 10, 2013.

  1. #1
    Hello guys,
    I am working on a project and there is a situation to check if client has invoked the subscription from paypal. Now I want to check it through PHP(SDK), so I could update it in the DB. Any suggestion will be highly appreciated, thank you.
     
    webshore88, Dec 10, 2013 IP
  2. DeanIM

    DeanIM Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    21
    #2
    Use PayPal's REST API to retrieve payment info array. There will be a 'STATUS' string with the payment status (Active, Pending, Suspended, or Cancelled).
     
    DeanIM, Dec 10, 2013 IP