Export Paypal Billing Agreement IDs

Yannis Psarras's Avatar

Yannis Psarras

05 Sep, 2019 11:46 AM

Hello,

We have a very important question.

Do you store the paypal billing agreement IDs of our clients?
If yes, can you tell where we can find them and how to export them?
If not, can you please tell us where can we find them?

Cheers

  1. Support Staff 1 Posted by Meghan Turner on 05 Sep, 2019 02:47 PM

    Meghan Turner's Avatar

    Hi Yannis,

    Yes, for customers who are paying with a credit card through PayPal Pro, Cheddar stores the PayPal Billing Agreement ID as a gatewayToken with each customer record. When you make a customers/get call to export your data, the gatewayToken will be included. Let me know if you have any other questions.

    Meghan

  2. 2 Posted by Yannis Psarras on 05 Sep, 2019 02:51 PM

    Yannis Psarras's Avatar

    Hi Meghan,

    What about clients that have paid through their paypal account and not credit card?
    That's what I am looking for.

  3. Support Staff 3 Posted by Meghan Turner on 05 Sep, 2019 03:07 PM

    Meghan Turner's Avatar

    Yes, we have that as well, but in our case, it isn't called a billing agreement ID. Our PayPal Standard integration uses a method called Preapprovals. Once the customer authorizes the recurring payment in PayPal, we get a preapproval key that we use for recurring transactions. I think that's what you'll need to transfer the payment records. For customers paying with their PayPal account, the preapproval key is saved as the subscription[gatewayToken] which is within the customer data returned from the customers/get endpoint.

    Meghan

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac