Changeset 2385262
- Timestamp:
- 09/20/2020 06:11:28 PM (5 years ago)
- Location:
- tip-jar-wp/trunk
- Files:
-
- 5 edited
-
includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php (modified) (5 diffs)
-
includes/misc-functions/stripe/stripe-functions.php (modified) (1 diff)
-
languages/tip-jar-wp.pot (modified) (10 diffs)
-
readme.txt (modified) (2 diffs)
-
tip-jar-wp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tip-jar-wp/trunk/includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php
r2132978 r2385262 44 44 ); 45 45 46 if ( 'connected' === $apple_pay_connected_domain_status && ! tip_jar_wp_is_site_localhost()) {46 if ( 'connected' === $apple_pay_connected_domain_status ) { 47 47 $is_healthy = true; 48 48 } else { 49 49 $is_healthy = false; 50 51 // Modify the unhealthy array. 52 $unhealthy_array = array( 53 'instruction' => __( 'Apple Pay is not hooked up! Reconnect with Stripe to fix it.', 'tip-jar-wp' ), 54 'fix_it_button_text' => __( 'Let\'s fix it!', 'tip-jar-wp' ), 55 'component_data' => array( 56 'server_api_endpoint_set_stripe_connect_success_url' => admin_url() . '?tip_jar_wp_set_tjwp_scsr', 57 'tip_jar_wp_set_tjwp_scsr_nonce' => wp_create_nonce( 'tip_jar_wp_set_tjwp_scsr' ), 58 'strings' => array( 59 'title' => __( 'Re-connect your Stripe Account to fix Apple Pay', 'tip-jar-wp' ), 60 'description' => $apple_pay_connected_domain_status, 61 'stripe_connect_button_text' => __( 'Connect your Stripe Account in Live Mode', 'tip-jar-wp' ), 62 ), 63 'stripe_connect_url' => tip_jar_wp_get_stripe_connect_button_url( 'live' ), 64 ), 65 ); 66 50 67 } 51 68 … … 59 76 } 60 77 61 // Make sure that live mode is enabled, otherwise Apple Pay doesn't work , for some reason.78 // Make sure that live mode is enabled, otherwise Apple Pay doesn't work. 62 79 if ( $is_healthy ) { 63 80 if ( ! isset( $settings['stripe_live_public_key'] ) || empty( $settings['stripe_live_public_key'] ) ) { … … 76 93 77 94 $unhealthy_array = array( 78 'instruction' => __( 'Apple Pay is not hooked up! .', 'tip-jar-wp' ),95 'instruction' => __( 'Apple Pay is not hooked up! The Apple Verification file could not be created on your server. Contact your webhost and ask them to create a .well-known directory at your site\'s root directory, and place this file within it. This file verifies your domain with Apple for Apple Pay.', 'tip-jar-wp' ), 79 96 'fix_it_button_text' => __( 'Let\'s fix it!', 'tip-jar-wp' ), 80 97 'component_data' => array( … … 82 99 'tip_jar_wp_set_ctwp_scsr_nonce' => false, 83 100 'strings' => array( 84 'title' => __( 'There\'s an issue with your server...', 'tip-jar-wp' ), 85 'description' => __( 'The Apple Verification file could not be created.', 'tip-jar-wp' ), 101 'title' => __( 'There\'s an issue with your server...', 'tip-jar-wp' ), 102 'description' => __( 'The Apple Verification file could not be created. Contact your webhost and ask them to create a .well-known directory at your site\'s root directory and make sure it is writable by the WordPress user group. This file verifies your domain with Apple for Apple Pay.', 'tip-jar-wp' ), 103 'stripe_connect_button_text' => __( 'Download Apple Verification File (then send to you your webhost)', 'tip-jar-wp' ), 86 104 ), 87 'stripe_connect_url' => tip_jar_wp_get_stripe_connect_button_url( 'live' ),88 105 ), 89 106 ); … … 93 110 94 111 // If this is a live site. 95 if ( ! tip_jar_wp_is_site_localhost() ) { 96 $unhealthy_array = array( 97 'instruction' => __( 'Apple Pay is not hooked up! Reconnect with Stripe to fix it.', 'tip-jar-wp' ), 98 'fix_it_button_text' => __( 'Let\'s fix it!', 'tip-jar-wp' ), 99 'component_data' => array( 100 'server_api_endpoint_set_stripe_connect_success_url' => admin_url() . '?tip_jar_wp_set_tjwp_scsr', 101 'tip_jar_wp_set_tjwp_scsr_nonce' => wp_create_nonce( 'tip_jar_wp_set_tjwp_scsr' ), 102 'strings' => array( 103 'title' => __( 'Re-connect your Stripe Account to fix Apple Pay', 'tip-jar-wp' ), 104 'description' => __( 'Click the button below to re-connect your Stripe account and fix Apple Pay.', 'tip-jar-wp' ), 105 'stripe_connect_button_text' => __( 'Connect your Stripe Account in Live Mode', 'tip-jar-wp' ), 106 ), 107 'stripe_connect_url' => tip_jar_wp_get_stripe_connect_button_url( 'live' ), 108 ), 109 ); 110 // If this is a localhost. 111 } else { 112 if ( tip_jar_wp_is_site_localhost() ) { 113 $is_healthy = false; 112 114 $unhealthy_array = array( 113 115 'instruction' => __( 'It looks like you are on a localhost. Apple Pay will not work on a localhost, but on a live site it will.', 'tip-jar-wp' ), -
tip-jar-wp/trunk/includes/misc-functions/stripe/stripe-functions.php
r2205386 r2385262 302 302 function tip_jar_wp_create_apple_verification_file() { 303 303 304 $home_path = ABSPATH; 305 $well_known_path = $home_path . '.well-known/'; 304 global $wp_filesystem; 305 306 $url = admin_url(); 307 if ( false === ( $creds = request_filesystem_credentials( $url, '', false, false, null ) ) ) { // phpcs:ignore 308 return false; 309 } 310 311 if ( ! WP_Filesystem( $creds ) ) { 312 request_filesystem_credentials( null, '', true, false, null ); 313 return; 314 } 315 316 $home_path = dirname( $wp_filesystem->wp_content_dir() ); 317 $well_known_path = $home_path . '/.well-known/'; 306 318 $apple_ver_path = $well_known_path . 'apple-developer-merchantid-domain-association'; 307 319 308 if ( file_exists( $apple_ver_path ) ) {320 if ( $wp_filesystem->exists( $apple_ver_path ) ) { 309 321 return true; 310 322 } 311 323 312 // First lets check/make-sure that the /well-known directory exists. If not, create it.313 if ( ! is_dir( $well_known_path ) ) {314 315 if ( is_writable( $home_path ) ) {316 $well_known_dir_exists = mkdir( $well_known_path ); 317 }318 } else{319 $well_known_dir_exists = true;320 } 321 322 // If the .well-known directory exists.323 if ( ! $well_known_dir_exists ) { 324 return false;325 }326 327 // Create the apple developer verification file inside the .well-known directory.328 $apple_ver_file_created = file_put_contents( $well_known_path . 'apple-developer-merchantid-domain-association', '7B227073704964223A2239373943394538343346343131343044463144313834343232393232313734313034353044314339464446394437384337313531303944334643463542433731222C2276657273696F6E223A312C22637265617465644F6E223A313536363233343735303036312C227369676E6174757265223A22333038303036303932613836343838366637306430313037303261303830333038303032303130313331306633303064303630393630383634383031363530333034303230313035303033303830303630393261383634383836663730643031303730313030303061303830333038323033653333303832303338386130303330323031303230323038346333303431343935313964353433363330306130363038326138363438636533643034303330323330376133313265333032633036303335353034303330633235343137303730366336353230343137303730366336393633363137343639366636653230343936653734363536373732363137343639366636653230343334313230326432303437333333313236333032343036303335353034306230633164343137303730366336353230343336353732373436393636363936333631373436393666366532303431373537343638366637323639373437393331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533333031653137306433313339333033353331333833303331333333323335333735613137306433323334333033353331333633303331333333323335333735613330356633313235333032333036303335353034303330633163363536333633326437333664373032643632373236663662363537323264373336393637366535663535343333343264353035323466343433313134333031323036303335353034306230633062363934663533323035333739373337343635366437333331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533333035393330313330363037326138363438636533643032303130363038326138363438636533643033303130373033343230303034633231353737656465626436633762323231386636386464373039306131323138646337623062643666326332383364383436303935643934616634613534313162383334323065643831316633343037653833333331663163353463336637656233323230643662616435643465666634393238393839336537633066313361333832303231313330383230323064333030633036303335353164313330313031666630343032333030303330316630363033353531643233303431383330313638303134323366323439633434663933653465663237653663346636323836633366613262626664326534623330343530363038326230363031303530353037303130313034333933303337333033353036303832623036303130353035303733303031383632393638373437343730336132663266366636333733373032653631373037303663363532653633366636643266366636333733373033303334326436313730373036633635363136393633363133333330333233303832303131643036303335353164323030343832303131343330383230313130333038323031306330363039326138363438383666373633363430353031333038316665333038316333303630383262303630313035303530373032303233303831623630633831623335323635366336393631366536333635323036663665323037343638363937333230363336353732373436393636363936333631373436353230363237393230363136653739323037303631373237343739323036313733373337353664363537333230363136333633363537303734363136653633363532303666363632303734363836353230373436383635366532303631373037303663363936333631363236633635323037333734363136653634363137323634323037343635373236643733323036313665363432303633366636653634363937343639366636653733323036663636323037353733363532633230363336353732373436393636363936333631373436353230373036663663363936333739323036313665363432303633363537323734363936363639363336313734363936663665323037303732363136333734363936333635323037333734363137343635366436353665373437333265333033363036303832623036303130353035303730323031313632613638373437343730336132663266373737373737326536313730373036633635326536333666366432663633363537323734363936363639363336313734363536313735373436383666373236393734373932663330333430363033353531643166303432643330326233303239613032376130323538363233363837343734373033613266326636333732366332653631373037303663363532653633366636643266363137303730366336353631363936333631333332653633373236633330316430363033353531643065303431363034313439343537646236666435373438313836383938393736326637653537383530376537396235383234333030653036303335353164306630313031666630343034303330323037383033303066303630393261383634383836663736333634303631643034303230353030333030613036303832613836343863653364303430333032303334393030333034363032323130306265303935373166653731653165373335623535653561666163623463373266656234343566333031383532323263373235313030326236316562643666353530323231303064313862333530613564643664643665623137343630333562313165623263653837636661336536616636636264383338303839306463383263646461613633333038323032656533303832303237356130303330323031303230323038343936643266626633613938646139373330306130363038326138363438636533643034303330323330363733313162333031393036303335353034303330633132343137303730366336353230353236663666373432303433343132303264323034373333333132363330323430363033353530343062306331643431373037303663363532303433363537323734363936363639363336313734363936663665323034313735373436383666373236393734373933313133333031313036303335353034306130633061343137303730366336353230343936653633326533313062333030393036303335353034303631333032353535333330316531373064333133343330333533303336333233333334333633333330356131373064333233393330333533303336333233333334333633333330356133303761333132653330326330363033353530343033306332353431373037303663363532303431373037303663363936333631373436393666366532303439366537343635363737323631373436393666366532303433343132303264323034373333333132363330323430363033353530343062306331643431373037303663363532303433363537323734363936363639363336313734363936663665323034313735373436383666373236393734373933313133333031313036303335353034306130633061343137303730366336353230343936653633326533313062333030393036303335353034303631333032353535333330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030346630313731313834313964373634383564353161356532353831303737366538383061326566646537626165346465303864666334623933653133333536643536363562333561653232643039373736306432323465376262613038666437363137636538386362373662623636373062656338653832393834666635343435613338316637333038316634333034363036303832623036303130353035303730313031303433613330333833303336303630383262303630313035303530373330303138363261363837343734373033613266326636663633373337303265363137303730366336353265363336663664326636663633373337303330333432643631373037303663363537323666366637343633363136373333333031643036303335353164306530343136303431343233663234396334346639336534656632376536633466363238366333666132626266643265346233303066303630333535316431333031303166663034303533303033303130316666333031663036303335353164323330343138333031363830313462626230646561313538333338383961613438613939646562656264656261666461636232346162333033373036303335353164316630343330333032653330326361303261613032383836323636383734373437303361326632663633373236633265363137303730366336353265363336663664326636313730373036633635373236663666373436333631363733333265363337323663333030653036303335353164306630313031666630343034303330323031303633303130303630613261383634383836663736333634303630323065303430323035303033303061303630383261383634386365336430343033303230333637303033303634303233303361636637323833353131363939623138366662333563333536636136326266663431376564643930663735346461323865626566313963383135653432623738396638393866373962353939663938643534313064386639646539633266653032333033323264643534343231623061333035373736633564663333383362393036376664313737633263323136643936346663363732363938323132366635346638376137643162393963623962303938393231363130363939306630393932316430303030333138323031386233303832303138373032303130313330383138363330376133313265333032633036303335353034303330633235343137303730366336353230343137303730366336393633363137343639366636653230343936653734363536373732363137343639366636653230343334313230326432303437333333313236333032343036303335353034306230633164343137303730366336353230343336353732373436393636363936333631373436393666366532303431373537343638366637323639373437393331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533303230383463333034313439353139643534333633303064303630393630383634383031363530333034303230313035303061303831393533303138303630393261383634383836663730643031303930333331306230363039326138363438383666373064303130373031333031633036303932613836343838366637306430313039303533313066313730643331333933303338333133393331333733313332333333303561333032613036303932613836343838366637306430313039333433313164333031623330306430363039363038363438303136353033303430323031303530306131306130363038326138363438636533643034303330323330326630363039326138363438383666373064303130393034333132323034323062303731303365313430613462386231376262613230316130336163643036396234653431366232613263383066383661383338313435633239373566633131333030613036303832613836343863653364303430333032303434363330343430323230343639306264636637626461663833636466343934396534633035313039656463663334373665303564373261313264376335666538633033303033343464663032323032363764353863393365626233353031333836363062353730373938613064643731313734316262353864626436613138363633353038353431656565393035303030303030303030303030227D');329 330 if ( false !== $apple_ver_file_created ) {324 // If there's no well known directory... 325 if ( ! $wp_filesystem->exists( $well_known_path ) ) { 326 $wp_filesystem->mkdir( $well_known_path, FS_CHMOD_DIR ); 327 } 328 329 // If we were unable to create it... 330 if ( ! $wp_filesystem->exists( $well_known_path ) ) { 331 return false; 332 } 333 334 $apple_certificate_content = '7B227073704964223A2239373943394538343346343131343044463144313834343232393232313734313034353044314339464446394437384337313531303944334643463542433731222C2276657273696F6E223A312C22637265617465644F6E223A313536363233343735303036312C227369676E6174757265223A22333038303036303932613836343838366637306430313037303261303830333038303032303130313331306633303064303630393630383634383031363530333034303230313035303033303830303630393261383634383836663730643031303730313030303061303830333038323033653333303832303338386130303330323031303230323038346333303431343935313964353433363330306130363038326138363438636533643034303330323330376133313265333032633036303335353034303330633235343137303730366336353230343137303730366336393633363137343639366636653230343936653734363536373732363137343639366636653230343334313230326432303437333333313236333032343036303335353034306230633164343137303730366336353230343336353732373436393636363936333631373436393666366532303431373537343638366637323639373437393331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533333031653137306433313339333033353331333833303331333333323335333735613137306433323334333033353331333633303331333333323335333735613330356633313235333032333036303335353034303330633163363536333633326437333664373032643632373236663662363537323264373336393637366535663535343333343264353035323466343433313134333031323036303335353034306230633062363934663533323035333739373337343635366437333331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533333035393330313330363037326138363438636533643032303130363038326138363438636533643033303130373033343230303034633231353737656465626436633762323231386636386464373039306131323138646337623062643666326332383364383436303935643934616634613534313162383334323065643831316633343037653833333331663163353463336637656233323230643662616435643465666634393238393839336537633066313361333832303231313330383230323064333030633036303335353164313330313031666630343032333030303330316630363033353531643233303431383330313638303134323366323439633434663933653465663237653663346636323836633366613262626664326534623330343530363038326230363031303530353037303130313034333933303337333033353036303832623036303130353035303733303031383632393638373437343730336132663266366636333733373032653631373037303663363532653633366636643266366636333733373033303334326436313730373036633635363136393633363133333330333233303832303131643036303335353164323030343832303131343330383230313130333038323031306330363039326138363438383666373633363430353031333038316665333038316333303630383262303630313035303530373032303233303831623630633831623335323635366336393631366536333635323036663665323037343638363937333230363336353732373436393636363936333631373436353230363237393230363136653739323037303631373237343739323036313733373337353664363537333230363136333633363537303734363136653633363532303666363632303734363836353230373436383635366532303631373037303663363936333631363236633635323037333734363136653634363137323634323037343635373236643733323036313665363432303633366636653634363937343639366636653733323036663636323037353733363532633230363336353732373436393636363936333631373436353230373036663663363936333739323036313665363432303633363537323734363936363639363336313734363936663665323037303732363136333734363936333635323037333734363137343635366436353665373437333265333033363036303832623036303130353035303730323031313632613638373437343730336132663266373737373737326536313730373036633635326536333666366432663633363537323734363936363639363336313734363536313735373436383666373236393734373932663330333430363033353531643166303432643330326233303239613032376130323538363233363837343734373033613266326636333732366332653631373037303663363532653633366636643266363137303730366336353631363936333631333332653633373236633330316430363033353531643065303431363034313439343537646236666435373438313836383938393736326637653537383530376537396235383234333030653036303335353164306630313031666630343034303330323037383033303066303630393261383634383836663736333634303631643034303230353030333030613036303832613836343863653364303430333032303334393030333034363032323130306265303935373166653731653165373335623535653561666163623463373266656234343566333031383532323263373235313030326236316562643666353530323231303064313862333530613564643664643665623137343630333562313165623263653837636661336536616636636264383338303839306463383263646461613633333038323032656533303832303237356130303330323031303230323038343936643266626633613938646139373330306130363038326138363438636533643034303330323330363733313162333031393036303335353034303330633132343137303730366336353230353236663666373432303433343132303264323034373333333132363330323430363033353530343062306331643431373037303663363532303433363537323734363936363639363336313734363936663665323034313735373436383666373236393734373933313133333031313036303335353034306130633061343137303730366336353230343936653633326533313062333030393036303335353034303631333032353535333330316531373064333133343330333533303336333233333334333633333330356131373064333233393330333533303336333233333334333633333330356133303761333132653330326330363033353530343033306332353431373037303663363532303431373037303663363936333631373436393666366532303439366537343635363737323631373436393666366532303433343132303264323034373333333132363330323430363033353530343062306331643431373037303663363532303433363537323734363936363639363336313734363936663665323034313735373436383666373236393734373933313133333031313036303335353034306130633061343137303730366336353230343936653633326533313062333030393036303335353034303631333032353535333330353933303133303630373261383634386365336430323031303630383261383634386365336430333031303730333432303030346630313731313834313964373634383564353161356532353831303737366538383061326566646537626165346465303864666334623933653133333536643536363562333561653232643039373736306432323465376262613038666437363137636538386362373662623636373062656338653832393834666635343435613338316637333038316634333034363036303832623036303130353035303730313031303433613330333833303336303630383262303630313035303530373330303138363261363837343734373033613266326636663633373337303265363137303730366336353265363336663664326636663633373337303330333432643631373037303663363537323666366637343633363136373333333031643036303335353164306530343136303431343233663234396334346639336534656632376536633466363238366333666132626266643265346233303066303630333535316431333031303166663034303533303033303130316666333031663036303335353164323330343138333031363830313462626230646561313538333338383961613438613939646562656264656261666461636232346162333033373036303335353164316630343330333032653330326361303261613032383836323636383734373437303361326632663633373236633265363137303730366336353265363336663664326636313730373036633635373236663666373436333631363733333265363337323663333030653036303335353164306630313031666630343034303330323031303633303130303630613261383634383836663736333634303630323065303430323035303033303061303630383261383634386365336430343033303230333637303033303634303233303361636637323833353131363939623138366662333563333536636136326266663431376564643930663735346461323865626566313963383135653432623738396638393866373962353939663938643534313064386639646539633266653032333033323264643534343231623061333035373736633564663333383362393036376664313737633263323136643936346663363732363938323132366635346638376137643162393963623962303938393231363130363939306630393932316430303030333138323031386233303832303138373032303130313330383138363330376133313265333032633036303335353034303330633235343137303730366336353230343137303730366336393633363137343639366636653230343936653734363536373732363137343639366636653230343334313230326432303437333333313236333032343036303335353034306230633164343137303730366336353230343336353732373436393636363936333631373436393666366532303431373537343638366637323639373437393331313333303131303630333535303430613063306134313730373036633635323034393665363332653331306233303039303630333535303430363133303235353533303230383463333034313439353139643534333633303064303630393630383634383031363530333034303230313035303061303831393533303138303630393261383634383836663730643031303930333331306230363039326138363438383666373064303130373031333031633036303932613836343838366637306430313039303533313066313730643331333933303338333133393331333733313332333333303561333032613036303932613836343838366637306430313039333433313164333031623330306430363039363038363438303136353033303430323031303530306131306130363038326138363438636533643034303330323330326630363039326138363438383666373064303130393034333132323034323062303731303365313430613462386231376262613230316130336163643036396234653431366232613263383066383661383338313435633239373566633131333030613036303832613836343863653364303430333032303434363330343430323230343639306264636637626461663833636466343934396534633035313039656463663334373665303564373261313264376335666538633033303033343464663032323032363764353863393365626233353031333836363062353730373938613064643731313734316262353864626436613138363633353038353431656565393035303030303030303030303030227D'; 335 336 $apple_ver_file_created = $wp_filesystem->put_contents( 337 $apple_ver_path, 338 $apple_certificate_content, 339 FS_CHMOD_FILE 340 ); 341 342 if ( false !== $apple_ver_file_created && ! is_wp_error( $apple_ver_file_created ) ) { 331 343 return true; 332 344 } else { -
tip-jar-wp/trunk/languages/tip-jar-wp.pot
r2322538 r2385262 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Tip Jar WP 1.0.2. 6\n"5 "Project-Id-Version: Tip Jar WP 1.0.2.7\n" 6 6 "Report-Msgid-Bugs-To: https://tipjarwp.com/\n" 7 "POT-Creation-Date: 2020-0 6-11 17:40:57+00:00\n"7 "POT-Creation-Date: 2020-09-20 18:12:17+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 746 746 #: includes/admin/php/admin-setup.php:621 747 747 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:40 748 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php: 105748 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:61 749 749 msgid "Connect your Stripe Account in Live Mode" 750 750 msgstr "" … … 1156 1156 1157 1157 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:32 1158 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php: 971158 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:53 1159 1159 msgid "Apple Pay is not hooked up! Reconnect with Stripe to fix it." 1160 1160 msgstr "" 1161 1161 1162 1162 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:33 1163 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php: 791164 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:9 81163 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:54 1164 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:96 1165 1165 #: includes/admin/php/health-checks-and-wizard/health-checks/ssl.php:53 1166 1166 #: includes/admin/php/health-checks-and-wizard/health-checks/stripe-live-mode.php:43 … … 1171 1171 1172 1172 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:38 1173 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:59 1174 msgid "Re-connect your Stripe Account to fix Apple Pay" 1175 msgstr "" 1176 1177 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:39 1178 msgid "Click the button below to re-connect your Stripe account and fix Apple Pay." 1179 msgstr "" 1180 1181 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:95 1182 msgid "" 1183 "Apple Pay is not hooked up! The Apple Verification file could not be " 1184 "created on your server. Contact your webhost and ask them to create a " 1185 ".well-known directory at your site's root directory, and place this file " 1186 "within it. This file verifies your domain with Apple for Apple Pay." 1187 msgstr "" 1188 1189 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:101 1190 msgid "There's an issue with your server..." 1191 msgstr "" 1192 1193 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:102 1194 msgid "" 1195 "The Apple Verification file could not be created. Contact your webhost and " 1196 "ask them to create a .well-known directory at your site's root directory " 1197 "and make sure it is writable by the WordPress user group. This file " 1198 "verifies your domain with Apple for Apple Pay." 1199 msgstr "" 1200 1173 1201 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:103 1174 msgid "Re-connect your Stripe Account to fix Apple Pay" 1175 msgstr "" 1176 1177 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:39 1178 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:104 1179 msgid "Click the button below to re-connect your Stripe account and fix Apple Pay." 1180 msgstr "" 1181 1182 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:78 1183 msgid "Apple Pay is not hooked up!." 1184 msgstr "" 1185 1186 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:84 1187 msgid "There's an issue with your server..." 1188 msgstr "" 1189 1190 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:85 1191 msgid "The Apple Verification file could not be created." 1192 msgstr "" 1193 1194 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:113 1202 msgid "Download Apple Verification File (then send to you your webhost)" 1203 msgstr "" 1204 1205 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:115 1195 1206 msgid "" 1196 1207 "It looks like you are on a localhost. Apple Pay will not work on a " … … 1198 1209 msgstr "" 1199 1210 1200 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:11 41211 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:116 1201 1212 #: includes/admin/php/health-checks-and-wizard/health-checks/stripe-live-webhook.php:118 1202 1213 #: includes/admin/php/health-checks-and-wizard/health-checks/stripe-test-webhook.php:124 … … 1204 1215 msgstr "" 1205 1216 1206 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:1 191217 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:121 1207 1218 msgid "Apple Pay will only work on a Live Site" 1208 1219 msgstr "" 1209 1220 1210 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:12 01221 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:122 1211 1222 msgid "" 1212 1223 "Apple requires that your domain is verified for Apple Pay to work. A " … … 1214 1225 msgstr "" 1215 1226 1216 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:13 61227 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:138 1217 1228 msgid "Apple Pay is all hooked up and ready to go. Beautiful!" 1218 1229 msgstr "" 1219 1230 1220 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:1 391231 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:141 1221 1232 msgid "Apple Pay connected!" 1222 1233 msgstr "" 1223 1234 1224 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:14 01235 #: includes/admin/php/health-checks-and-wizard/health-checks/apple-pay.php:142 1225 1236 msgid "Great job! Apple Pay is all connected and ready to be used on your website!" 1226 1237 msgstr "" … … 1910 1921 #: includes/frontend/php/endpoints/payment-endpoints/get-payment-intent.php:213 1911 1922 #: includes/frontend/php/endpoints/payment-endpoints/get-payment-intent.php:291 1912 #: includes/misc-functions/stripe/stripe-functions.php:3 781923 #: includes/misc-functions/stripe/stripe-functions.php:390 1913 1924 #: includes/misc-functions/stripe/stripe-webhooks/payment_intent.succeeded.php:339 1914 1925 msgid "" … … 1919 1930 #: includes/frontend/php/endpoints/payment-endpoints/get-payment-intent.php:213 1920 1931 #: includes/frontend/php/endpoints/payment-endpoints/get-payment-intent.php:291 1921 #: includes/misc-functions/stripe/stripe-functions.php:3 781932 #: includes/misc-functions/stripe/stripe-functions.php:390 1922 1933 #: includes/misc-functions/stripe/stripe-webhooks/payment_intent.succeeded.php:339 1923 1934 #: includes/misc-functions/stripe/stripe-webhooks/payment_intent.succeeded.php:345 … … 2844 2855 msgstr "" 2845 2856 2846 #: includes/misc-functions/stripe/stripe-functions.php:3 772857 #: includes/misc-functions/stripe/stripe-functions.php:389 2847 2858 #. translators: The url of the website. 2848 2859 msgid "A user attempted to cancel their subscription but it failed on %s." -
tip-jar-wp/trunk/readme.txt
r2359575 r2385262 4 4 Donate link: https://tipjarwp.com 5 5 Requires at least: 4.8 6 Tested up to: 5.5 6 Tested up to: 5.5.1 7 7 Requires PHP: 7.0 8 8 Stable tag: trunk … … 93 93 == Changelog == 94 94 95 = 1.0.2.7 - 2020-09-20 = 96 * Improved Apple Pay domain verification. 97 95 98 = 1.0.2.6 - 2020-06-11 = 96 99 * Improve handling of upfront card errors, like insufficient funds, and provide a helpful response to the user. -
tip-jar-wp/trunk/tip-jar-wp.php
r2322538 r2385262 4 4 Plugin URI: https://tipjarwp.com 5 5 Description: Accept single or recurring tips on your WordPress site in seconds through Apple Pay, Google Pay, Credit Card, and saved-in-browser credit cards. 6 Version: 1.0.2. 66 Version: 1.0.2.7 7 7 Author: Tip Jar WP 8 8 Text Domain: tip-jar-wp … … 45 45 if ( ! defined( 'TIP_JAR_WP_VERSION' ) ) { 46 46 47 $tip_jar_wp_version = '1.0.2. 6';47 $tip_jar_wp_version = '1.0.2.7'; 48 48 49 49 // If SCRIPT_DEBUG is enabled, break the browser cache.
Note: See TracChangeset
for help on using the changeset viewer.