• Resolved cybersix

    (@cybersix)


    Hello,

    I’m trying to add some details to the receipt email, I need to use the receipt ID that appears on the donor page in the website, but it doesn’t work in the email body.

    I wrote the tag {receipt_id} and the output in email body is the same.

    Is it possible to have the receipt id printed in the email?

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @cybersix,
    Glad you reached out. I’ll need just a little clarification here.

    Did you code your own email tag when you made the {receipt_id}, or did you just type that in? In the email settings you can scroll down to see a list of available email tags, but {receipt_id} isn’t an email tag GiveWP offers (I can make you a feature request for that, though!). If you can send along some details and a screenshot of the exact id you are looking to include, I can get that feature request ready. I just need to be very clear about the details.

    If you custom-coded a tag, I’m not able to provide support for that, only for the code GiveWP creates and distributes. A feature request for an additional email tag will be your best bet here.

    Keep me posted on the details, if I’ve misunderstood anything let me know and send along some clarifying details and I’ll be happy to give it another look.

    Thread Starter cybersix

    (@cybersix)

    Hello, many thanks for your reply.

    I just tried to use the {receipt_id} tag as it’s shown at this page of the givewp website: https://givewp.com/documentation/core/settings/emails/the-donation-receipt-email/

    To me it’s an important info to share with donors, so if it’s not possible now (even if the example shows its usage) yes it would be a feature request.

    Thank you

    Hi @cybersix,
    Thanks for sending along that context, I see exactly the tag you mean, that was very helpful!

    I ran a few tests using the {receipt_id} email tag in the emailed donation receipts, and it populated in for me. I’d like to get a look at your system information to rule out a possible conflict. You can send this by navigating to Donations > Tools > System Info (tab) and clicking the button to “Get System Report” and copy/paste that into your reply here.

    I’d also like a look at how you have it implemented. When I added that tag, I copy/pasted it into the body of my email template (I didn’t use HTML). If you could send along a screenshot or two showing me your email body, that might help give me some clues as well.

    Keep me posted if you have other questions about this in the meantime, I’m happy to help.

    Thread Starter cybersix

    (@cybersix)

    Hello @stephanieliy, many thanks for your reply.

    Here the system report:

    WordPress Environment
    
    Home URL: https://www.millevite.it
    Site URL: https://www.millevite.it
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: it_IT
    Permalink Structure: /%postname%/
    Show on Front: page
    Page on Front: Home (#41)
    Page for Posts: Non impostato
    Table Prefix Length: gm5_
    Table Prefix Length: 4
    Table Prefix Status: Acceptable
    Admin AJAX: Accessibile
    Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, spam, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, dp-rewrite-republish Server Environment Hosting Provider: DBH: localhost, SRV: www.millevite.it
    TLS Connection: Connessione usata TLS 1.3
    TLS Connection: Probably Okay
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    PHP Max Upload Size: 256 MB
    cURL Version: 7.85.0, OpenSSL/3.0.8
    SUHOSIN Installed: –
    MySQL Version: 5.7.39
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    gzip: ?
    GD Graphics Library: ?
    Multibyte String: ?
    Pubblicazione Remota: ?
    Get Remoto: ? GiveWP Configuration GiveWP Version: 2.26.0
    GiveWP Cache: Attivo
    Database Updates: Tutti gli aggiornamenti del database sono stati completati.
    Database Updates: Tutte le migrazioni del database completate.
    Database Tables: ? gm5_give_donors? gm5_give_donormeta? gm5_give_comments? gm5_give_commentmeta? gm5_give_sessions? gm5_give_formmeta? gm5_give_sequential_ordering? gm5_give_donationmeta? gm5_give_revenue? gm5_give_migrations? gm5_give_log
    GiveWP Cache: Attivo
    GiveWP Cache: ?nuova donazione?Ricevuta donazione?Ricevuta di donazione in elaborazione?Nuova donazione offline?Istruzioni Donazione offline?Registrazione di un nuovo utente?Informazioni dell'utente registrato?Note relative alla donazione?Accesso via email
    Upgraded From: 2.25.2
    Test Mode: Attivo
    Currency Code: EUR
    Currency Position: Prima
    Decimal Separator: ,
    Thousands Separator: .
    Success Page: https://www.millevite.it/conferma-donazione/
    Failure Page: https://www.millevite.it/donazione-fallita/
    Donation History Page: https://www.millevite.it/bacheca-del-donatore/
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: test di donazione, Donazione offline
    Default Payment Gateway: test di donazione
    PayPal IPN Notifications: N/A
    Donor Email Access: Attivo
    Stripe Webhook Notifications: N/A Active GiveWP Add-ons Give - Donation Modules for Divi: Add-on gratuito – di GiveWP – 1.0.3
    Receipt Attachments for GiveWP: Add-on gratuito – di GiveWP – 1.1.3 Other Active Plugins Akismet Anti-Spam: di Automattic – 5.1
    amr shortcode any widget: di anmari – 4.0
    CookieYes | GDPR Cookie Consent: di CookieYes – 3.0.8
    Custom Sidebars: di WebFactory Ltd – 3.36
    Elegant Themes Updater: di Elegant Themes – 1.1
    Health Check & Troubleshooting: di The www.ads-software.com community – 1.6.0
    icoPaw: Customizable Animal Rescue Icons: di Stephanie Chow – 1.0
    Jetpack: di Automattic – 12.0
    Limit Login Attempts: di Johan Eenfeldt – 1.7.2
    Popups for Divi: di divimode.com – 3.0.5
    Quotes Collection: di Srini G – 2.5.2
    Regenerate post permalinks: di Sandor Kovacs – 1.0.3
    Wordfence Security: di Wordfence – 7.9.2
    WP-Optimize - Clean, Compress, Cache: di David Anderson, Ruhani Rabin, Team Updraft – 3.2.14
    WP-SpamShield: di Red Sand Media Group – 1.9.21
    Yoast Duplicate Post: di Enrico Battocchi & Team Yoast – 4.5
    Yoast SEO: di Team Yoast – 20.5 Inactive Plugins Per-Form Confirmation Pages for GiveWP: di GiveWP – 1.1.1
    StoreCustomizer: di Kaira – 2.5.0
    Weather Effect: di A WP Life – 1.4.5
    woo-inquire-us-and-disable-add-to-cart-button: di themelocation – 1.4.4
    WooCommerce: di Automattic – 7.6.0
    WooCommerce Multilingual & Multicurrency: di OnTheGoSystems – 5.1.2
    WP-DBManager: di Lester 'GaMerZ' Chan – 2.80.9
    WPML Media: di OnTheGoSystems – 2.5.0
    WPML Multilingual CMS: di OnTheGoSystems – 4.2.0
    WPML Page Builders: di OnTheGoSystems – 1.1.3
    WPML String Translation: di OnTheGoSystems – 2.10.0
    WPML Translation Management: di OnTheGoSystems – 2.10.6
    WP Snow Effect: di WPManiax – 1.1.15 Active MU Plugins ET Support Center :: Must-Use Plugins Autoloader: di Elegant Themes –
    Health Check Troubleshooting Mode: di – 1.9.0
    WP-SpamShield Anti-Malware & Functional Integrity Scanner: di Red Sand Media Group and Blackhawk Cybersecurity – 1.9.21 Theme Name: Divi
    Version: 4.20.4
    Author URL: https://www.elegantthemes.com
    Child Theme: No – Se modifichi GiveWP su un tema genitore che non hai creato personalmente, ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child

    t doesn’t work in HTML nor plain text too. I am working in the Give WP test environment but all the other tags are working. I can’t upload any image here, how can I show you?

    Thank you

    Hi @cybersix,
    Thanks for sending along that information. I’ve been testing, and no matter what I do, I can’t replicate an issue with that email tag.

    Are you experiencing issues with all the email tags, or just this one in particular?

    I’m happy to keep troubleshooting, but I can’t solve an issue that I can’t see, I’m relatively stuck.

    Keep me posted, if we can get more information or some traction I’m happy to keep digging.

    Thread Starter cybersix

    (@cybersix)

    @stephanieliy I can’t upload screenshot here, so I can’t show you what I am doing. Is there an email address where I could send the screenshots?

    The other tags (the ones already included in the example text in GiveWP configuration) are working well.

    Hi @cybersix,
    You could send along screenshots using a tool like https://imgur.com/upload if you’d like, and that should help give me a better picture of things.

    Keep me posted and I’ll give them a look!

    Thread Starter cybersix

    (@cybersix)

    Thread Starter cybersix

    (@cybersix)

    @stephanieliy here are the screenshots, I simply added the tag to the text already provided in the configuration of GiveWP. Once I copied, than I wrote it myself, I keep on double check it but i can’t see anything wrong.

    As I told you, and as you can see, other tags are populated correctly. I am still in the GiveWP test environment. Thank you.

    • This reply was modified 1 year, 7 months ago by cybersix.

    Hi @cybersix,
    Thanks for sending along those images. I’ve run another series of tests, but I just can’t replicate the issue you are seeing. In all my testing, the {receipt_id} tag populates a number. I’ve run this both through my own test site and several sandboxes, and that tag continues to function as expected: https://imgur.com/UO5R7fx

    The Payment ID functions in a similar way, providing an id number for donors, although I know you were looking for something more detailed.

    The issue has to be replicable in order for me to troubleshoot it, without that, I’m relatively stuck. Because I can’t move forward at the moment, I’ll need to mark this as resolved. If you come across additional information that might help, you are always welcome to create a new ticket or to respond to this ticket and I’ll hop right back in.

    Thread Starter cybersix

    (@cybersix)

    @stephanieliy many thanks for your time and testing. I don’t know what to say. Now I copied from your post the tag and it still doesn’t work. Receipt data should be available as the receipt link is.

    I don’t have any detail to add, it just doesn’t work, plain text or HTML, it’s the same.

    I will come back if I see something new and useful.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘receipt_id tag not working in email’ is closed to new replies.