• Resolved fsan2val

    (@fsan2val)


    Hello

    How does offline payment work?

    NO confirmation messages arrive, where is the data for the payment placed?

    Or maybe this whole process should be coordinated separately with the client?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @fsan2val,

    Thank you for your question.

    Manual payment means that we do not handle the transaction itself. For a better understanding, this is how it works:

    I choose a subscription plan on your website + the manual payment option. My account is being created and, in the back-end, as admin, you will see the payment on pending. You’ll have to manually approve the payment (it’s a button – Approve payment). You can do this when you’ve received the money. In this case, how the payment is being handled depends on you and your client, not our plugin.

    Kind regards,

    Thread Starter fsan2val

    (@fsan2val)

    I understand. But there should be at least one settings option to place a simple text and that reaches the user about our data so that they pay, woocommerce style bank transfer.

    Hello @fsan2val,

    You could create a special redirect for the users that will choose the manual payment gateway.

    https://www.cozmoslabs.com/docs/paid-member-subscriptions/developer-knowledge-base/redirect-user-to-custom-page-after-manual-payment/

    This code will redirect your users to a special page after the manual payment. On that page, you can place the instruction for the payment.

    Here is how to implement the code:

    1. Create your own empty custom plugin. Here is a link on how to do that.

    2. Add the code in your plugin. Also, create the page where the instructions will be. In the code, replace /payment-info with the slug of your own page.

    add_action(‘pms_get_redirect_url’, ‘pmsc_redirect_after_manual_payment’, 10, 2);
    function pmsc_redirect_after_manual_payment( $url, $location ) {
    if ( isset($_POST[‘pay_gate’]) && $_POST[‘pay_gate’] != ‘manual’)
    return $url;

    $subscription_plan = pms_get_subscription_plan($_POST[‘subscription_plans’]);

    if ($subscription_plan->price == 0)
    return $url;
    else
    return home_url( ‘/payment-info’ );
    }

    3. Save your plugin and install it on your WP page as any other plugin.

    Have a wonderful day!

    Kind regards,`

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How does offline payment work?’ is closed to new replies.