justine0905
justine0905

Reputation: 139

Paypal Sandbox How to Check Billing Plans and Billing Agreements

I've been building a subscription based on the REST API Billing plans and agreements using these sample codes from PayPal-PHP-SDK. However I can't seem to find the created billing plans and the billing agreements from my testings in sandbox and developer Paypal sites. Is there a way to check if the process was a success?

Here are my steps:

  1. Create billing plan
  2. Activate billing plan
  3. Create Agreement based on active billing plan
  4. Execute Agreement [Response was an Agreement Object with state = 'Active']

Upvotes: 3

Views: 3799

Answers (2)

I have been facing the same problem but found a solution which helped me on the issue.

Goto Sandbox paypal

1)https://www.sandbox.paypal.com

2)Click on login and login with your business sandbox account you can create sandbox account in https://developer.paypal.com

3)in now dashboard after login you will see My account tools under My account tools click on My Business Setup

4)it will take you to this page Welcome to your PayPal Business Account on this page click on profile link right next of logout button.

5)Now you will see a new paypal header menu

it will have a link tools in the header menu

hover on tools and click on All Tools then click on Recurring Payments

here you can see all the data for Recurring Payments

i have also found paypal guide for this to https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/recurring-payments-dashboard/#open-the-recurring-payments-dashboard

Upvotes: 3

Athrun Zara
Athrun Zara

Reputation: 873

You can use GET billing plans operation.

curl -v -X GET https://api.sandbox.paypal.com/v1/payments/billing-plans?page_size=3&status=ACTIVE&page_size=2&page=1&total_required=yes \

-H "Content-Type:application/json" \ -H "Authorization: Bearer Access-Token"

Read here

Upvotes: 1

Related Questions