Subscription Plan purchased but not enabling

This topic contains 53 reply and 4 voices, and was last updated by Nayem 9 years, 3 months ago
Viewing 15 Posts - 1 through 15 (of 53 total)
Author Posts
July 7, 2015 at 1:49 am 54498
Nayem I have enabled subscription on my website and when sellers free trial plan expired and to upgrade to another plan seller purchased the second plan and order completed but sellers new plan has not been enabled. Still shows seller on previous plan and seller can select the purchased plan to buy again when already purchased.
July 7, 2015 at 2:22 pm 54564
Nayem Nayem

Hello Mubasher,

Which payment gateway are you using?

July 7, 2015 at 2:27 pm 54566
Mubasher Mubasher This reply has been marked as private.
July 7, 2015 at 2:29 pm 54567
Nayem Nayem

Hello Mubasher,

Please make sure that you have got the IPN confirmation from PayPal. After getting this IPN confirmation your seller will be able to use the subscription package.

Thanks.

July 7, 2015 at 2:45 pm 54577
Mubasher Mubasher

yes I have the IPN given by Paypal which I have enabled in the paypal adaptive section. with regards to my subscription plan problem it was paid using standard paypal so the payment part is not the issue. the subscription is not being enabled after payment? you may check by logging in hence why I gave you my details.

July 7, 2015 at 2:58 pm 54582
Nayem Nayem

Hello Mubasher,

I saw that your sub pack is recurring. You can not use PayPal adaptive payment to purchaseWe 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. recurring payment. You have to use Normal paypal account to purchase recurring payment.

July 8, 2015 at 5:08 am 54675
Mubasher Mubasher This reply has been marked as private.
July 8, 2015 at 9:42 am 54687
Nayem Nayem

Hello Mubasher,

Please provide your login details and FTP details by using this form: http://wedevs.com/provide-login-details/. Our developer will work for this.

Thank you 🙂

July 8, 2015 at 1:17 pm 54731
Mubasher Mubasher

I have sent the details. Please let me know if any issues. Thankyou.

July 8, 2015 at 1:45 pm 54735
Nayem Nayem

Hello,

I got your details and I have forwarded this to our developer team. They will fix this as soon as possible.

Thanks.

July 8, 2015 at 11:01 pm 54840
Mubasher Mubasher

Is this corrected/fixed as not had no response?

July 9, 2015 at 11:24 am 54877
Nayem Nayem

Hello Mubasher,

We will check this today. After finishing our work I will inform you. Please keep patience.

Thanks.

July 9, 2015 at 11:35 am 54883
Nayem Nayem

Your FTP is not working. Please provide your correct details.

July 9, 2015 at 12:37 pm 54891
Mubasher Mubasher This reply has been marked as private.
July 9, 2015 at 12:37 pm 54892
Nayem Nayem

You problem has been fixed. Please check and let me know.

Thanks.

July 9, 2015 at 2:35 pm 54913
Sergey Rybalka Sergey Rybalka This reply has been marked as private.
Viewing 15 Posts - 1 through 15 (of 53 total)