Plugin Directory

Changeset 2792587


Ignore:
Timestamp:
09/30/2022 04:29:18 PM (3 years ago)
Author:
trustswiftly
Message:

fix icons

Location:
trust-swiftly-verification/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trust-swiftly-verification/trunk/readme.txt

    r2791945 r2792587  
    55Tested up to: 6.0
    66Requires PHP: 7.3
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99
     
    1111
    1212== Description ==
     13
    1314Trust Swiftly provides flexible and accurate identity verifications with over 15 different verification methods. Trust Swiftly is easily customizable through our dashboard and configurable with Woocommerce to optimize your customer\'s experience with frictionless verifications.
    1415
     
    2122
    2223== Installation ==
    23 A Trust Swiftly account. Sign up here: [https://app.trustswiftly.com/create](https://app.trustswiftly.com/create)
    2424
    25 Setup in Trust Swiftly
     25**Prerequisite:** A Trust Swiftly account. Sign up for free [https://app.trustswiftly.com/create](https://app.trustswiftly.com/create)
     26
     27= Setup in Trust Swiftly and WP Plugin =
    2628
    2729To configure the integration with Trust Swiftly, follow the steps below.
    2830
    29 1. Log in to the Trust Swiftly dashboard. Your base url is your branded site name you login i.e. https://EXAMPLE.trustswiftly.com
    30 2. Create a Template in the Trust Swiftly dashboard to configure the user verification steps. Read the documentation on managing templates for more information. [How to create templates?](https://support.trustswiftly.com/how-to-manage-templates.html)
    31 3. Navigate to the Developer > API page to create an API key. i.e. https://EXAMPLE.trustswiftly.com/settings/developer
    32 4. (Optional) Navigate to the Developer > Webhooks page to create an IPN which notifies your store about completed verifications incase of redirect problems. Click add Webhook at enter the IPN listed on your TS settings page. i.e. https://example.com/wp-json/ts/v1/ipn Afterwards make sure to copy the secret from the button to enter later.
    33 5. You should now have the API Key, Secret, and Embed Key then update in the Wordpress settings of Trust Swiftly. The webhoook secret should also be added if that featured is used.
    34 6. Click Save to test the API connection. Once it is confirmed you can then select the remaining settings like the Verification template.
     311. Log in to the Trust Swiftly dashboard. Your **base url** is your branded site name you login i.e. `https://EXAMPLE.trustswiftly.com`
     322. **Create a Template** in the Trust Swiftly dashboard to configure the user verification steps. Read the documentation on managing templates for more information. [How to create templates?](https://support.trustswiftly.com/how-to-manage-templates.html)
     333. Navigate to the **Developer > API** page to create an API key. i.e. `https://EXAMPLE.trustswiftly.com/settings/developer`
     344. (Optional) Navigate to the **Developer > Webhooks** page to create an IPN which notifies your store about completed verifications incase of redirect problems. Click add Webhook at enter the IPN listed on your TS settings page. i.e. `https://example.com/wp-json/ts/v1/ipn` Afterwards make sure to copy the secret from the button to input later.
     355. Update in your Trust Swiftly dashboard settings the **Completion Redirect URL**, Go to `https://EXAMPLE.trustswiftly.com/settings` copy and paste the url given on the Wordpress TS settings page and update. i.e. `https://example.com/wp-json/ts/v1/return/?order_id={order_id}`
     366. You should now have the **API Key, Secret, and Embed Key** then update in the Wordpress settings of Trust Swiftly. The webhoook secret should also be added if that feature is enabled.
     377. Click Save to test the API connection. Once it is confirmed you can then select the remaining settings like the Verification template or trigger location of the verification (Before or after checkout).
    3538
    3639== Frequently Asked Questions ==
     40
    3741= How much does this cost?
    3842
     
    4448
    4549See [https://trustswiftly.com/features/](https://trustswiftly.com/features/) for more info.
     50
     51= Need help getting started or changes?
     52
     53We are always looking to improve our plugin and any feedback is appreciated. Contact us at [email protected] for support or feedback. Our support site also has useful tips on preventing fraud [https://support.trustswiftly.com/](https://support.trustswiftly.com/)
    4654
    4755== Changelog ==
     
    6270= 1.0.4 =
    6371* Version fix
     72
     73= 1.0.5 =
     74* Fix icons loading
  • trust-swiftly-verification/trunk/src/TrustVerifyPlugin.php

    r2769563 r2792587  
    120120            wp_enqueue_style('ts-bootstrap', 'https://cdn.trustswiftly.com/assets/css/embedded_bootstrap.css');
    121121            wp_enqueue_style('ts-trustverify-css', 'https://cdn.trustswiftly.com/assets/css/trust-verify.css');
     122            wp_enqueue_style('ts-trustverify-css', 'https://cdn.trustswiftly.com/assets/css/modal_fontawesome.css');
    122123        }
    123124
  • trust-swiftly-verification/trunk/src/WooCommerce/Verification.php

    r2769538 r2792587  
    5353    {
    5454        if (! is_user_logged_in()) {
     55            return $errors;
     56        }
     57        $verifyAfterCheckout = ts_get_option('verify_on', static::VERIFY_BEFORE_CHECKOUT) == static::VERIFY_AFTER_CHECKOUT;
     58        if ($verifyAfterCheckout){
    5559            return $errors;
    5660        }
     
    224228    public function getModalHtml()
    225229    {
    226         return '<div id="trustVerify" class="bg-light p-5 rounded ts_emb_verify"></div>';
     230        return '<div id="trustVerify" class="bg-light p-5 rounded ts_emb_verify" style="margin-top: 30px"></div>';
    227231    }
    228232
  • trust-swiftly-verification/trunk/trustswiftly-verification.php

    r2791945 r2792587  
    99 * Author:            Trust Swiftly
    1010 * Author URI:        https://www.trustswiftly.com
    11  * Version:           1.0.4
     11 * Version:           1.0.5
    1212 * Text Domain:       Trust Swiftly Verification
    1313 */
Note: See TracChangeset for help on using the changeset viewer.