• Resolved avatarz

    (@avatarz)


    Hi All,

    Im currently building a PHP app to interface with my woocommerce data, i want to link up paypal transactions with the woocommerce order..

    The only 2 unique identifiers for this are 1) Email and 2) Paypal transaction ID (the most ideal)

    I note the v2 / v3 https://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-an-order rest API doesnt provide the Paypal transaction ID?

    The email is provided / retrievable, but here is the issue with that.. basically the user can checkout with 1 email and pay using paypal with another – so this information is invalid / not reliable.

    So my question in a nutshell, does the REST Api provide Paypal transaction ID and im missing it? (because it is stored in the database / on wp-admin) OR can this be added to the API easy?

    thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter avatarz

    (@avatarz)

    I have somewhat answered my own question, however it would still be useful to get PayPal transaction ID from API – so maybe developers might want to include this in future revisions of the API

    I can use: order_key reference, this is a unique order key per order (same as transaction ID) so yeah this is “resolved”

    Hi there @avatarz ??

    So my question in a nutshell, does the REST Api provide Paypal transaction ID and im missing it? (because it is stored in the database / on wp-admin) OR can this be added to the API easy?

    Chiming in here, as this thread is already marked as resolved.

    Kindly keep in mind we are not developers and only offer support for existing functionality.

    Please see our Support Policy: https://www.woocommerce.com/support-policy/

    Since you are comfortable coding yourself and have questions, I would recommend that you consider:

    * WooCommerce developer Portal
    * WooCommerce Slack Community
    * Advanced WooCommerce Facebook group

    I hope that helps you to figure it out.

    Feel free to get back to us if you have further questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal Transaction ID via Api?’ is closed to new replies.