Attempt to reactivate former Stripe subscription not working?

Hi!

I have just tried to activate a former costumers subscription, as she can't upgrade by herself, but I don't know if it is done correctly.

In Stripe, I can see that see was billed today (Jan 4,2016), but she was billed 0.0 kr. (DKK) – See the first attached image.

If I click the invoice from today I can see that the subscription runs from today until TODAY? See image two.

I don't understand this. I have reactivated the subscription, but it doesn't seems like anything has happened. Please help..

[attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members]

  • Mathias
    • The Bug Hunter

    I can actually see that the reactivation worked, but Stripe could not charge the money from the creditcard. What if the person have got a new creditcard, and need to charge the information?

    [attachments are only viewable by logged-in members]

  • Kasia Swiderska
    • Support nomad

    Hello Mathias,

    What if the person have got a new creditcard, and need to charge the information?

    If previously used card is not valid then member needs to update it – it can be done on checkout page (page where member can cancel, upgrade and renew their subscriptions) by choosing plan and inserting new card info and ticking “Replace Existing Card:” option.

    kind regards,

    Kasia

    [attachments are only viewable by logged-in members]

  • Kasia Swiderska
    • Support nomad

    Hello Mathias,

    Did you ever used credit card on your test account? If not, option will be not available – it will only show when stripe gateway was used at least once – because this option is for updating credit card info.

    But it should be visible for your member – as credit card was used there before.

    kind regards,

    Kasia

  • Mathias
    • The Bug Hunter

    I have just created a new test account, and signed up with my credit card. I still can’t see the “Replace excising card” ..

    EDIT: After i went back to the dashboard and then into the Pro Account page again, the options appeared! Now I am just trying to update the missing translations as:

    “Update your credit card by selecting your current plan below and proceed with checkout.”

    “Checkout Using Existing Credit Card”

    “Blog password”

    “Replace Existing Card”

    But none of these strings are in the translation file?

  • Mathias
    • The Bug Hunter

    EDIT: After i went back to the dashboard and then into the Pro Account page again, the options appeared! Now I am just trying to update the missing translations as:

    “Update your credit card by selecting your current plan below and proceed with checkout.”

    “Checkout Using Existing Credit Card”

    “Blog password”

    “Replace Existing Card”

    But none of these strings are in the translation file?

  • Kasia Swiderska
    • Support nomad

    Hello Mathias,

    You don’t need to find text string to translate in plugin code, that is why I linked you to tutorial how to use gettext filter to use it in the functions.php, so it will look like this

    function my_text_strings( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
    case 'Update your credit card by selecting your current plan below and proceed with checkout.' :
    $translated_text = __( 'Your translation', 'psts' );
    break;
    case 'Checkout Using Existing Credit Card' :
    $translated_text = __( 'Your translation', 'psts' );
    break;
    case 'Blog password' :
    $translated_text = __( 'Your translation', 'psts' );
    break;
    case 'Replace Existing Card' :
    $translated_text = __( 'Your translation', 'psts' );
    break;
    }
    return $translated_text;
    }
    add_filter( 'gettext', 'my_text_strings', 20, 3 );

    you just need to change “Your translation” to actual translation and add this to your functions.php.

    kind regards,

    Kasia