這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Briqpay B2B Registration Form

描述

Utilise the Briqpay B2B Registration form to quickly turn visitors to users. Allows you to easily render the Briqpay B2B registration form on your wordpress site
In order to utlize this plugin you need to have an account at Briqpay. Register your own playground account att https://app.briqpay.com

With Briqpay’s B2B registration form you can add a seamless registration to your application process. Creating an account has never been easier.

The registration process differs depending on the industry, market and, other business-critical assessments. Therefore our solutions come with wide flexibility and lots of functionality.

Get validated data, company information, run an automated credit check, e-signature, industry filtering – you’re in control.

Read more at https://briqpay.com

安裝

download plugin
upload to wp-content
activate in plugins dashboard

常見問題

How do I find my api key?

By logging into your merchant account at https://app.briqpay.com
Dont have a merchant account? No worries, you can get instant access to a playground account by registering your user.

The plugin rejects all registrations

You likely havent implemented the correct hook for approving the account validation. Below is example implentnations on how to both validate the application and subsequently create a new user.

add_action(
    'init',
    function() {
        add_filter( 'briqpay_signup_completed', 'example_function_to_create_user', 10, 1 );
    }
);
add_action(
    'init',
    function() {
        add_filter( 'briqpay_signup_validation', 'example_filter_functon_for_validation', 10, 2 );
    }
);

function example_function_to_create_user( $signup_data ) {
    $selected_pass = wp_generate_password();
    $user_id       = wp_insert_user(
        array(
            'user_login'   => $signup_data->user->email,
            'user_pass'    => $selected_pass,
            'user_email'   => $signup_data->user->email,
            'first_name'   => $signup_data->user->firstName,
            'last_name'    => $signup_data->user->lastName,
            'display_name' => $signup_data->user->firstName . ' ' . $signup_data->user->lastName,

        )
    );

    $billing_data = array(
        'first_name'        => $signup_data->user->firstName,
        'last_name'         => $signup_data->user->lastName,
        'billing_city'      => $signup_data->address->city,
        'billing_postcode'  => $signup_data->address->zip,
        'billing_email'     => $signup_data->user->email,
        'billing_phone'     => $signup_data->user->phone,
        'billing_company'   => $signup_data->address->companyname,
        'billing_address_1' => $signup_data->address->streetaddress,
    );
    foreach ( $billing_data as $billing_meta_key => $billing_meta_value ) {
            update_user_meta( $user_id, $billing_meta_key, $billing_meta_value );
    }

}


    function example_filter_functon_for_validation( $validaton, $signup_data ) {

    if ( ! get_user_by( 'email', $signup_data->user->email ) ) {
        $validaton = array(
            'result' => true,
            'errors' => array(),
        );
    } else {
        $validaton = array(
            'result' => false,
            'errors' => array(
                array(
                    'errorCode'    => 'already_exists',
                    'errorField'   => 'email',
                    'errorMessage' => 'Found existing user',
                ),
            ),
        );
    }
    return $validaton;
}

How do I activate the live account?

You need to have an active subscription plan with Briqpay to utilise our live services.
Contact Briqpay to activate your subscription. https://briqpay.com/contact-briqpay

What is Briqpay?

Briqpay is a technical solution that delivers great user experiences for business-to-business sales online.

Use Briqpays software and API’s to create a seamless customer experience and automate your payment flow, on all markets.

How can i find Briqpays privacy policy?

https://briqpay.com/privacy-policy

評價

There are no reviews for this plugin.

貢獻者及開發者

“Briqpay B2B Registration Form” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Briqpay B2B Registration Form 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄