Avideo: Subscription doesn't send thanksForSubscribe-email

Created on 27 May 2020  路  14Comments  路  Source: WWBN/AVideo

Hi

When Subscribed a plan with stripe, "thanks for subscribe" email doesn't send,
Email configuration is right. I can send test email.
Nothing email related on log file,

EDIT:

  1. Also I noticed something weird. When I checked the subscriptions on subscriptions page they expire on the same date and time when created:
    image

  2. When pressing "i" button on Plans tab (subscription page), it opens up a page with only script
    image
    image

bug

Most helpful comment

That's it! It works now. I had wrong SigningSecret key.

Thank you so much for your help. I'm happy that it was my mistake and not the application problem. You've done a powerful application and your user support is excellent - and you keep on solving this kind of stupid user mistakes. :) I appreciate your work.

all the best wishes,
T

All 14 comments

@DanielnetoDotCom have you checked this?

edit:

  1. I made some testing and the test plan was set to valid for 1 day and that made expire date same as creation date. When I changed it to valid for 2 days, it started to work normally.

Hi

about the email does it send for paypal or just stripe?

  1. about the info buttons it is basically a debug info.

if you want to make something valid for 1 day only, you should use PPV, subscription has a minimum of days (do not remember how many), and it is limited depends on the payment gateway platform. I guess 1 day is invalid on almost all of them.

Hi,

it happened again, user subscribed 30 day subscription and it was set automatically to expire same moment as subscribed. I had to manually set it right.. I don't know what to think...?!

There was another subscription with the same result. I checked the log file and both have been subscribed with Stripe. When I try to subscribe myself with wallet money it works.

so the problem was with stripe?

what time does it happen?

Well I have seen it only with Stripe.

What do you mean? What time?

The time will help me find it in the log file

01-Jun-2020 10:10:00 UTC
01-Jun-2020 15:40:21 UTC

Payment interval on Stipe account seems right, so that's good. But anyway the automatic expire time on subscription is broken somehow, when using Stripe at least ( I haven't tested this with Paypal yet)

Sorry for that delay. what is your domain? so I can check here

Checking your code I found this

[01-Jun-2020 15:40:27 UTC] AVideoLog::DEBUG: Stripe IPN sig_header [t=15*****5,v1=2df4a302fb525a341b05e29a9********bbaff3c69f10e4cee1f9]
[01-Jun-2020 15:40:27 UTC] AVideoLog::DEBUG: Stripe IPN endpoint_secret [sk_live_isYK***Fs*******Odf0******dk]
[01-Jun-2020 15:40:27 UTC] AVideoLog::DEBUG: Stripe IPN Invalid signature 

your parameter is something like sk_live_......
when suppose to be something like this whsec_....

Check it here

image

Check your plugin instructions here

image

The SigningSecret will be available after your first purchase attempt, Webhook will be created automatically.

That's it! It works now. I had wrong SigningSecret key.

Thank you so much for your help. I'm happy that it was my mistake and not the application problem. You've done a powerful application and your user support is excellent - and you keep on solving this kind of stupid user mistakes. :) I appreciate your work.

all the best wishes,
T

Need to get a paypal donate link for @DanielnetoDotCom

He is already a very good customer :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snowdream1985 picture snowdream1985  路  3Comments

JoshWho picture JoshWho  路  3Comments

gujarraju picture gujarraju  路  4Comments

willpower68 picture willpower68  路  3Comments

wetubeclub picture wetubeclub  路  3Comments