Viewing 9 Topics - 16 through 24 (of 24 total)
Author Posts
April 21, 2015 at 3:01 pm 41906
Nayem Nayem

Hello Tracy,

I got your details. Please allow us some time to check your site.

April 23, 2015 at 2:24 pm 42123
Nayem Nayem

Hello Tracy,

Your user name and password is incorrect. Please provide us valid username and password.

Thanks.

April 26, 2015 at 12:09 pm 42324
Nayem Nayem This reply has been marked as private.
May 13, 2015 at 10:50 pm 43903
Tracy Tracy

still waiting for this to be fixed…. have not heard further from Dokan…

May 14, 2015 at 10:36 am 43932
Nayem Nayem

Hello Tracy,

If you are using Paypal adaptive payment then recurring will not work. You have to use Paypal for recurring subscription.

Thanks.

May 14, 2015 at 7:56 pm 44056
Tracy Tracy

BUT if i add regular PayPal to my payment options… when a regular buyer “buys” the $ comes to me, and not hte seller.

How do I have sellers/shops signup for recurring monthly subscriptions?

May 14, 2015 at 8:04 pm 44060
Nayem Nayem

Hello Tracy,

We have find a way to use normal PayPal and PayPal adaptive payement both together. You have to active both PayPal and PayPal adaptive payment with both credential. Please follow those instruction-

1. I will provide some code. You have to put the code in your child theme function.php file. After putting the code the main trick will happen.

2. After putting the code when a seller will purchase subscription pack that time the payment will process with the normal paypal. But when user will purchase normal product then the payment will process with the PayPal adaptive payment.

Here is the code –

add_filter('woocommerce_available_payment_gateways','filter_gateways',1);

function filter_gateways(  $gateways ){
    
    foreach ( WC()->cart->cart_contents as $key => $values ) {
        if( $values['data']->product_type == 'product_pack' ) {
            unset($gateways['dokan_paypal_adaptive']);
            break;
        } else {
            unset($gateways['paypal']);
            break;
        }
    }
    return $gateways;
}

Note: You must have to enable both paypal and paypal adaptive payment with those api key.

May 15, 2015 at 12:54 am 44072
Tracy Tracy

thank you…
where do i put that within the function file? i tried 2 places, and it threw off the system.

May 16, 2015 at 10:07 am 44120
Nayem Nayem

Hello Tracy,

You can insert those code in your child theme’s function.php file.

Viewing 9 Topics - 16 through 24 (of 24 total)