I'm trying to create a PHP script where I can execute a reference transaction. I got in my database this billing-agreement-ids like on this page: https://developer.paypal.com/docs/classic/express-checkout/ht_ec-refTrans-SetEC-DoRefTrans-curl-etc/ (B-7FB31251F28061234).
What should my PHP script look like to do step 4? I created a Classic API App, but I'm not sure about my configuration.
I downloaded:
- github.com/paypal/sdk-core-php
- github.com/paypal/codesamples-php
- github.com/paypal/rest-api-sample-app-php/
I guess I should do something with classic api because ids like B-7FB31251F28061234 don't exist in REST api.