• Resolved Rosa Parker

    (@rosa-bosma)


    Hi there,

    If someone selects the manual/offline payment option and clicks on the button ‘Subscribe’, the same page is just reloaded. This doesn’t happen with PayPal. How can I change this for manual/offline payments? Can I forward them to a separate page with payment info? I’m not sure what is supposed to happen according to the plugin.

    Thanks a lot!

    Rosa

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Rosa,

    Thank you for reaching out to us.

    If the user selects the Manual payment option when registering, his account will be created and inside the Account page, where we added the [pms-account] shortcode, he will see the payment marked as Pending.

    As Admin if you go to PMS -> Payments you will see the Pending payment. If you edit the payment and change the status to Completed the Subscription Plan will be assigned to the user.

    If you restricted the access based on Subscription Plan, users that have a Pending Subscription Plan will not be able to view the restricted content until you set the payment as Completed.

    Let me know if this information helped you.

    Best regards,

    Thread Starter Rosa Parker

    (@rosa-bosma)

    Hi Teodor,

    Thank you for your clear explanation. I was just wondering if there is an option to forward users who select ‘Manual/offline payment’ to a page on the website that has IBAN info etc…

    Thanks again!

    Plugin Author Georgian Cocora

    (@raster02)

    Hello Rosa,

    You can setup a Register Success Page if you go to PMS -> Settings, but this will probably confuse users which use other methods of payment.

    I have written a small piece of code which will let you achieve this:

    add_action('pms_get_redirect_url', 'pmsc_redirect_after_manual_payment', 10, 2);
    function pmsc_redirect_after_manual_payment( $url, $location ) {
    	if ($location != 'register' && $_POST['pay_gate'] != 'manual')
    		return '';
    
    	wp_redirect('http://mywebsite.com/manual_payment_success_page');
    	exit;
    }

    On the line which starts with ‘wp_redirect..’ you will need to change the URL between the quotes with the one that you’d like your users to be redirected to.
    This code can be added into your themes functions.php file or you can follow the instructions at the top of this page to create a custom plugin with the code.

    Let me know if you need anymore help with this !

    Best Regards.

    Thread Starter Rosa Parker

    (@rosa-bosma)

    Hi Georgian,

    This is a very late reply, but I haven’t had the chance to work on this for a while.

    Just wanted to say thank you for your support with this! The code works perfectly.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Manual/offline payment not forwarding?’ is closed to new replies.