• Hello Everyone!

    I want to modify the transcript that we received from PayPal after a Complete order. In the following transcript under the description section , u can see the details of the product. Like name of the product , order no and size etc..

    Blow is the content that Em talking about.

    Description                     Unit price      Qty   Amount
    Guardians of the Galaxy Jacket   $105.00 USD	   $105.00 USD

    In the above code under the Description section , u can see the product name , Which is in this case Guardians of the Galaxy Jacket Here is the Screen so u guys can get the better view of the transcript..
    Captured Screen

    I want to remove (replace) that part with something like:

    Order no 1245 or Article No: 4535

    We do not want to appear the Product name in the transcript.

    Thanks you for taking your time to read this.Any help Please ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Say what?? Some context please! WordPress has no e-commerce module or payment module by default. There’s dozens of plugins that add this functionality, what are you using?

    That said, there’s a real good chance you’re using WooCommerce and the default PayPal module. You might get better results asking in the WooCommerce support forums, they’re the experts on their plugin.

    I will say that you cannot alter what PayPal displays to the user, what you need to do is alter what data is sent to PayPal. If no product name is sent, they cannot put it in the transcript. Where to do this is in the Woo code somewhere. There’s likely even a filter you can use for this purpose. It can be very hard to find by just reading through code though, that’s why you should ask the Woo experts.

    Thread Starter fourtytwo

    (@fourtytwo)

    Yes u r right, we can’t alter the transcript we received from PayPal, But what we can do is, We can alter the data that we send to PayPal and that’s what i am looking for.In my themes folder under the woo commerce folder there is no email folder.

    So i look in the plugin directory.
    wp-content/plugins/woocommerce/templates/emails

    In the above directory under the emails folder i can see these files..

    plain (folder)
    admin-cancelled-order.php
    admin-new-order.php
    customer-completed-order.php
    customer-invoice.php
    customer-new-account.php
    customer-note.php
    customer-processing-order.php
    customer-refunded-order.php
    customer-reset-password.php
    email-addresses.php
    email-footer.php
    email-header.php
    email-order-items.php
    email-styles.php

    But i have no idea which file to edit to get the result..

    Moderator bcworkz

    (@bcworkz)

    I doubt you will find what you are looking for in emails. AFAIK Woo interacts with PayPal via an API and HTTPS requests. It is this API call that you need to intercept and change. Where this resides I’ve no idea, sorry.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to modify the PayPal transcript’ is closed to new replies.