Plugin Directory

Changeset 2744805


Ignore:
Timestamp:
06/19/2022 02:13:50 PM (3 years ago)
Author:
growniche
Message:

メール本文の変更

Location:
simple-stripe-checkout/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • simple-stripe-checkout/trunk/languages/simple-stripe-checkout-ja.po

    r2733384 r2744805  
    244244msgstr "StripeカスタマーポータルURL"
    245245
    246 #. カスタマーポータルでは支払いの停止、登録カードの追加や削除が行えます。
    247 msgid "The Customer Portal allows you to stop payments, add or remove registered cards."
    248 msgstr "カスタマーポータルでは支払いの停止、登録カードの追加や削除が行えます。"
     246#. カードや登録Eメールの変更など行えます。
     247msgid "You can change your card, registered e-mail address, etc."
     248msgstr "カードや登録Eメールの変更など行えます。"
    249249
    250250#. メールを送信しました。
  • simple-stripe-checkout/trunk/languages/simple-stripe-checkout.pot

    r2733384 r2744805  
    280280msgstr ""
    281281
    282 #. カスタマーポータルでは支払いの停止、登録カードの追加や削除が行えます。
    283 msgid "The Customer Portal allows you to stop payments, add or remove registered cards."
     282#. カードや登録Eメールの変更など行えます。
     283msgid "You can change your card, registered e-mail address, etc."
    284284msgstr ""
    285285
  • simple-stripe-checkout/trunk/readme.txt

    r2733384 r2744805  
    44Requires at least: 4.9.13
    55Tested up to: 6.0.0
    6 Stable tag: 1.1.18
     6Stable tag: 1.1.19
    77License: GPL v3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • simple-stripe-checkout/trunk/simple-stripe-checkout.php

    r2733384 r2744805  
    55  Plugin URI: https://s-page.biz/ssc/
    66  Description: 決済プラットフォーム「Stripe」の連携プラグイン
    7   Version: 1.1.18
     7  Version: 1.1.19
    88  Author: growniche
    99  Author URI: https://www.growniche.co.jp/
     
    11351135${amount}
    11361136
    1137 ▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    1138 ${last4}
    11391137" . ($immediate_settlement ? "" : "
    11401138<<" . __('Cancellation of payment', GSSC) . ">>
     
    11471145▼" . __('Stripe Customer Portal', GSSC) . "
    11481146${stripe_customer_portal_login_url}
    1149 ※" . __('The Customer Portal allows you to stop payments, add or remove registered cards.', GSSC) . "
     1147※" . __('You can change your card, registered e-mail address, etc.', GSSC) . "
     1148
     1149▼" . __('Last 4 digits of the card used for payment', GSSC) . "
     1150${last4}
     1151
    11501152------
    11511153${site_name}
     
    11821184${trail_end_date}
    11831185
    1184 ▼" . __('Last 4 digits of the card to be used for payment', GSSC) . "
    1185 ${last4}
    1186 
    11871186▼" . __('Cancellation of subscription', GSSC) . "
    11881187" . __('If you want to cancel, click below to cancel.', GSSC) . "
    11891188${cancel_url}
    11901189
     1190▼" . __('Stripe Customer Portal', GSSC) . "
     1191${stripe_customer_portal_login_url}
     1192※" . __('You can change your card, registered e-mail address, etc.', GSSC) . "
     1193
    11911194▼" . __('Subscription ID', GSSC) . "
    11921195${subscription_id}
    11931196
    1194 ▼" . __('Stripe Customer Portal', GSSC) . "
    1195 ${stripe_customer_portal_login_url}
    1196 ※" . __('The Customer Portal allows you to stop payments, add or remove registered cards.', GSSC) . "
     1197▼" . __('Last 4 digits of the card to be used for payment', GSSC) . "
     1198${last4}
     1199
    11971200------
    11981201${site_name}
     
    12581261${trail_end_date}
    12591262
     1263▼" . __('Subscription ID', GSSC) . "
     1264${subscription_id}
     1265
    12601266▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    12611267${last4}
    1262 
    1263 ▼" . __('Subscription ID', GSSC) . "
    1264 ${subscription_id}
    12651268
    12661269------
     
    12791282            $subscription = "
    12801283▼" . __('Subscription ID', GSSC) . "
    1281 ${subscription_id}
    1282 ";
     1284${subscription_id}";
    12831285        }
    12841286        return "
     
    12971299${amount}
    12981300
     1301▼" . __('Stripe Customer Portal', GSSC) . "
     1302${stripe_customer_portal_login_url}
     1303※" . __('You can change your card, registered e-mail address, etc.', GSSC) . "
     1304${subscription}
     1305
    12991306▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    13001307${last4}
    1301 ${subscription}
    1302 
    1303 ▼" . __('Stripe Customer Portal', GSSC) . "
    1304 ${stripe_customer_portal_login_url}
    1305 ※" . __('The Customer Portal allows you to stop payments, add or remove registered cards.', GSSC) . "
     1308
    13061309------
    13071310${site_name}
     
    13211324            $subscription = "
    13221325▼" . __('Subscription ID', GSSC) . "
    1323 ${subscription_id}
    1324 ";
     1326${subscription_id}";
    13251327        }
    13261328        return "
     
    13351337▼" . __('Price', GSSC) . "
    13361338${amount}
     1339${subscription}
    13371340
    13381341▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    13391342${last4}
    1340 ${subscription}
     1343
    13411344------
    13421345${site_name}
     
    13651368${amount}
    13661369
     1370▼" . __('Stripe Customer Portal', GSSC) . "
     1371${stripe_customer_portal_login_url}
     1372※" . __('You can change your card, registered e-mail address, etc.', GSSC) . "
     1373
    13671374▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    13681375${last4}
    13691376
    1370 ▼" . __('Stripe Customer Portal', GSSC) . "
    1371 ${stripe_customer_portal_login_url}
    1372 ※" . __('The Customer Portal allows you to stop payments, add or remove registered cards.', GSSC) . "
    13731377------
    13741378${site_name}
     
    14051409     * 購入者向けサブスクリプション支払完了メール本文テンプレート
    14061410     */
    1407     static function buyer_pay_subscription_mail_template($email, $service_name, $amount, $last4, $next_date, $site_name, $home_url, $buyer_from_address, $subscription_id, $stripe_customer_portal_login_url) {
     1411    static function buyer_pay_subscription_mail_template($email, $service_name, $amount, $last4, $next_date, $site_name, $home_url, $buyer_from_address, $subscription_id, $stripe_customer_portal_login_url, $cancel_url) {
    14081412        return "
    14091413${email} " . __('Mr/Ms', GSSC) . "
     
    14201424${amount}
    14211425
     1426▼" . __('Next scheduled withdrawal date', GSSC) . "
     1427${next_date}
     1428
     1429▼" . __('Stripe Customer Portal', GSSC) . "
     1430${stripe_customer_portal_login_url}
     1431※" . __('You can change your card, registered e-mail address, etc.', GSSC) . "
     1432
     1433▼" . __('Subscription ID', GSSC) . "
     1434${subscription_id}
     1435
    14221436▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    14231437${last4}
    14241438
    1425 ▼" . __('Next scheduled withdrawal date', GSSC) . "
    1426 ${next_date}
    1427 
    1428 ▼" . __('Subscription ID', GSSC) . "
    1429 ${subscription_id}
    1430 
    1431 ▼" . __('Stripe Customer Portal', GSSC) . "
    1432 ${stripe_customer_portal_login_url}
    1433 ※" . __('The Customer Portal allows you to stop payments, add or remove registered cards.', GSSC) . "
     1439▼" . __('Cancellation of subscription', GSSC) . "
     1440" . __('If you want to cancel, click below to cancel.', GSSC) . "
     1441${cancel_url}
    14341442
    14351443------
     
    14581466${amount}
    14591467
     1468▼" . __('Next scheduled withdrawal date', GSSC) . "
     1469${next_date}
     1470
     1471▼" . __('Subscription ID', GSSC) . "
     1472${subscription_id}
     1473
    14601474▼" . __('Last 4 digits of the card used for payment', GSSC) . "
    14611475${last4}
    1462 
    1463 ▼" . __('Next scheduled withdrawal date', GSSC) . "
    1464 ${next_date}
    1465 
    1466 ▼" . __('Subscription ID', GSSC) . "
    1467 ${subscription_id}
    14681476
    14691477------
     
    25642572        // 価格に単位を付ける
    25652573        $amount = str_replace('___', $amount, $this->stripe_currencies[strtoupper($currency)]['format']);
     2574        // キャンセルURL
     2575        $cancel_url = home_url() . '/?' . self::SLUG__CANCEL_SUBSCRIPTION . '=' . $subscription_id;
    25662576        // サイト名
    25672577        $site_name = get_bloginfo('name');
     
    25772587            "${service_name} " . __(': Payment was made.', GSSC),
    25782588            // 本文
    2579             self::buyer_pay_subscription_mail_template($email, $service_name, $amount, $last4, $next_date, $site_name, $home_url, $buyer_from_address, $subscription_id, $stripe_customer_portal_login_url),
     2589            self::buyer_pay_subscription_mail_template($email, $service_name, $amount, $last4, $next_date, $site_name, $home_url, $buyer_from_address, $subscription_id, $stripe_customer_portal_login_url, $cancel_url),
    25802590            // 宛先
    25812591            $email,
Note: See TracChangeset for help on using the changeset viewer.