Home Forums Theme Support Dokan recurring subscription problem

This topic is: not resolved

This topic contains 4 replies, has 4 voices, and was last updated by  Sekander Badsha 4 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28647

    sophie
    Member
    Post count: 20

    Hi, i use recurring subscription but the problem is when you pass an order there are no subscription.

    If this is not a recurrent entry all goes well

    I think the problem is in function process_order_pack_product :
    if ( $new_status == ‘completed' ) {
    ………………….
    if ( get_post_meta( $product[‘product_id'], ‘_enable_recurring_payment', true ) == ‘yes' ) {
    return;
    }

    why return ????? there are no update user meta ???

    thank.

    #28799

    Tareq Hasan
    Keymaster
    Post count: 2831

    PayPal sends several status messages as IPN for recurring payments. That function only handles the normal subscription packages. For recurring payments, when we get those IPN statuses from PayPal, only then we handle the subscriptions, not when the order status changes.

    #28824

    sophie
    Member
    Post count: 20

    so the feature is available only with paypal. no payment by check or wire transfer.
    you can not just send a payment reminder to the user to adjust the end date of package when it uses a different method of payment?

    #28909

    SEAN
    Participant
    Post count: 56

    Can this work with Stripe?

    #29092

    Sekander Badsha
    Member
    Post count: 2067

    Hello Sophie,

    Yes, you can send automated notification mail before the subscription pack gets expired. Please navigate to wp-admin -> Dokan -> Settings -> Product Subscription and you will get the option to send notification mails.

    And Sean,
    It can work with single packs. But if you want it to work with recurring packs then you have to modify a little bit. And that would require a developer.

    Thank you ๐Ÿ™‚

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘recurring subscription problem’ is closed to new replies.