Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix( email tag ): email tags should output the correct data. #3584

Closed
1 task done
Sidsector9 opened this issue Aug 8, 2018 · 0 comments
Closed
1 task done

fix( email tag ): email tags should output the correct data. #3584

Sidsector9 opened this issue Aug 8, 2018 · 0 comments
Assignees

Comments

@Sidsector9
Copy link
Contributor

Sidsector9 commented Aug 8, 2018

@marutim commented on Mon Aug 06 2018

User Story

As a user, I would like to see recurring email tags displaying correct data. At the moment, these are displaying nothing. We have had this issue in the past.

Older issue link: https://github.com/WordImpress/Give-Recurring-Donations/issues/511

When a user uses an email tag like {subscription_frequency} or {subscriptions_completed} it should display correct data for recurring donations and "n/a" or something similar for non recurring donation. This is also been used by the users to separate a recurring donation from a non-recurring one.

Current Behavior

The tags do not work. It is outputted as it is.

Steps to Reproduce

  1. Use the {subscription_frequency} email tag in the new donation email
  2. Try a recurring or non-recurring donation.
  3. Check the respective email and you would find that it outputs nothing.

Visuals

wp give

Related

HS link: https://secure.helpscout.net/conversation/635463040/22988/?folderId=1457790

Tasks

  • Make sure all the email tags work correctly.

Environment

### WordPress Environment ###

Home URL: http://wp-give.test
Site URL: http://wp-give.test
WP Version: 4.9.8
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
Permalink Structure: /%postname%/
Show on Front: posts
Table Prefix Length: wp_
Table Prefix Length: 3
Table Prefix Status: Acceptable
Admin AJAX: Accessible
Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, give_subscription

Server Environment

Hosting Provider: DBH: localhost, SRV: wp-give.test
TLS Connection:
TLS Connection:
Server Info: Flywheel/4.1.0
PHP Version: 5.6.20
PHP Post Max Size: 1,000 MB
PHP Time Limit: 300
PHP Max Input Vars: 4000
PHP Max Upload Size: 300 MB
cURL Version: ❌ 7.38.0, OpenSSL/1.0.2k - We recommend a minimum cURL version of 7.40.
SUHOSIN Installed: –
MySQL Version: 5.6.36
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
gzip: ✔
GD Graphics Library: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Give Configuration

Give Version: 2.2.2
Give Cache: Enabled
Database Updates: All DB Updates Completed.
Give Cache: Enabled
Give Cache: ✔New Donation✔Donation Receipt✔New Offline Donation✔Offline Donation Instructions✔New User Registration✔User Registration Information✔Email access❌Renewal Receipt Email❌Subscription Cancelled Email❌Subscription Completed Email❌Subscription Reminder Email✔Subscriptions Email Access
Upgraded From: 1.8.19
Test Mode: Enabled
Currency Code: EUR
Currency Position: Before
Decimal Separator: .
Thousands Separator: ,
Success Page: http://wp-give.test/donation-confirmation/
Failure Page: http://wp-give.test/donation-failed/
Donation History Page: http://wp-give.test/donation-history/
Give Forms Slug: /donations/
Enabled Payment Gateways: Test Donation, Stripe - Credit Card, Offline Donation, Mollie Gateway
Default Payment Gateway: Test Donation
PayPal IPN Verification: Enabled
PayPal IPN Notifications: N/A
Donor Email Access: Enabled

Active Give Add-ons

Give - Authorize.net Gateway: ✔ Licensed – by WordImpress – 1.4.2
Give - Currency Switcher: ✔ Licensed – by WordImpress – 1.2.2
Give - Fee Recovery: ✔ Licensed – by WordImpress – 1.7.1
Give - Form Field Manager: ✔ Licensed – by WordImpress – 1.3
Give - MailChimp: ✔ Licensed – by WordImpress – 1.4.1
Give - Manual Donations: ✔ Licensed – by WordImpress – 1.4.1
Give - Mollie Gateway: ❌ Unlicensed – by WordImpress – 1.1.1
Give - PayPal Pro Gateway: ✔ Licensed – by WordImpress – 1.1.6
Give - PDF Receipts: ✔ Licensed – by WordImpress – 2.3
Give - Per Form Gateways: ✔ Licensed – by WordImpress – 1.0.1
Give - Recurring Donations: ✔ Licensed – by WordImpress – 1.7.2
Give - Stripe Gateway: ✔ Licensed – by WordImpress – 2.0.10
Give - Tributes: ✔ Licensed – by WordImpress – 1.5.0

Other Active Plugins

Debug Bar: by wordpressdotorg – 0.9
Debug Bar Post Meta: by whyisjake – 0.5.4
Email Cop: by Ashfame – 0.1.1
User Switching: by John Blackbourn & contributors – 1.3.1

Inactive Plugins

Automatic Responsive Tables: by Andrew Rockwell – 1.2
Duplicate Post: by Enrico Battocchi – 3.2.2
Give - AmeriCloud Payments: by AmeriCloud Solutions, Inc. – 1.2.0
Give - Braintree Gateway: by WordImpress – 1.1.1
Give - CCAvenue Gateway: by WordImpress – 1.0
Give - Constant Contact: by WordImpress – 1.2.1
Give - ConvertKit: by WordImpress – 1.0.1
Give - CSV Toolbox: by WordImpress – 1.0
Give - Email Reports: by WordImpress – 1.1.1
Give - Form Countdown: by WordImpress – 1.0
Give - Gift Aid: by WordImpress – 1.1.3
Give - GoCardless Gateway: by WordImpress – 1.2
Give - Google Analytics Donation Tracking: by WordImpress – 1.1.1
Give - Hook Helper: by Ravinder Kumar – 1.0
Give - Paytm Gateway: by WordImpress – 1.0
Give - Per Form User Role Assigner: by Matt Cromwell – 1.0
Give - Recurring Helper: by WordImpress – 1.0
Give - Zapier: by WordImpress – 1.2.1
My Custom Functions: by Space X-Chimp – 4.24
WP Filters Extras: by BeAPI – 1.0.2

Active MU Plugins

Local by Flywheel Relative URL (for Live Links): by Flywheel – 1.0

Theme

Name: Twenty Seventeen
Version: 1.7
Author URL: https://wordpress.org/
Child Theme: No – If you're modifying Give on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant