php - PayPal Reference Transaction by Billing Agreement ID -


i'm trying create php script can execute reference transaction. got in database billing-agreement-ids on page: https://developer.paypal.com/docs/classic/express-checkout/ht_ec-reftrans-setec-doreftrans-curl-etc/ (b-7fb31251f28061234).

what should php script step 4? created classic api app, i'm not sure configuration.

i downloaded:

  • github.com/paypal/sdk-core-php
  • github.com/paypal/codesamples-php
  • github.com/paypal/rest-api-sample-app-php/

i guess should classic api because ids b-7fb31251f28061234 don't exist in rest api.

what you're looking doreferencetransaction api. you'll pass in billing agreement id along amount wish charge.

if you're comfortable other sdk's should able handle call without issue. say, though, you'll this sdk better. it's lot easier use paypal's, , own integration technicians prefer , recommend one.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -