Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pay-per-view plugin bugs@Question #9851

Open
eitanwa opened this issue Jan 28, 2025 · 15 comments
Open

Pay-per-view plugin bugs@Question #9851

eitanwa opened this issue Jan 28, 2025 · 15 comments
Labels

Comments

@eitanwa
Copy link

eitanwa commented Jan 28, 2025

hey daniel

Question:
In the explanation of how to use the plugin, it says that when using PAYPAL, funds will not be automatically deposited into the user's account, unlike Stripe, where the user can enter their own IP

Image

In practice, I see that the funds are deposited into the wallet even when using PAYPAL
I assume this has changed

Am I right?

A few bugs:

1) When embedding a payperview video
The video plays even for free
The purchase button (buy) appears, but the video plays for free

Video code:

<div class="embed-responsive embed-responsive-16by9"><iframe width="640" height="360" style="max-width: 100%;max-height: 100%; border:none;" src="https://alive528.com/videoEmbed/24630/%F0%9F%9A%A8%D7%98%D7%A8%D7%90%D7%9E%D7%A4-%D7%91%D7%A8%D7%90%D7%99%D7%95%D7%9F-%D7%9 8%D7%9C%D7%A4%D7%95%D7%A0%D7%99-%D7%A2%D7%A1%D7%A7%D7%94-%D7%97% D7%99%D7%99%D7%91%D7%AA-%D7%9C%D7%A7%D7%A8%D7%95%D7%AA-%D7%95%D7 %96%D7%94-%D7%99%D7%A7%D7%A8%D7%94-%D7%90%D7%9D-%D7%94%D7%9D-%D7 %94%D7%97%D7%9E%D7%90%D7%A1-%D7%9C%D7%90-%D7%99%D7%A2%D7%A9%D7%9 5-%D7%90%D7%AA-%D7%96%D7%94-%D7%99%D7%94%D7%99%D7%95-%D7%94%D7%A 8%D7%91%D7%94-%D7%A6%D7%A8%D7%95%D7%AA-%D7%91%D7%97%D7%95%D7%A5" frameborder="0" allowfullscreen="allowfullscreen" allow="autoplay" scrolling="no">iFrame is not supported!</iframe></div>

Link to embedded payperview video:

https://feisafe.com/article/491/article-automatically-booked

2) go to payment page

Image

when activating the option
Users Can Create PPV Plans

Image

The go to payment page option disappears
only the wallet deposit option remains

Image

3)Cannot access the trailer

As a viewer when I "meet" a PYPERVIEW video

Image

Image

I want to see details about it before purchasing, such as a trailer if there is one
From the home screen, clicking on such a video will immediately lead to purchase without the option to watch the trailer
Such an option only exists from the my channel screen

Image

In my opinion, there should be access to viewing details such as a trailer from anywhere where there is access to the video

thanks daniel

@eitanwa eitanwa added the bug label Jan 28, 2025
@eitanwa
Copy link
Author

eitanwa commented Jan 31, 2025

Hi Daniel
I don't know if you've fixed it by now
The first issue-embedding a payperview
It's working now
Please ignore it

@DanielnetoDotCom
Copy link
Member

Regarding your question about PayPal, some site owners may believe that payments can go directly to the producer, but this is not possible. The payment must always go first to the site owner. The funds are then credited to the user’s site wallet, allowing them to use the money within the platform.

Issues Reported

  1. Embedding a Pay-Per-View (PPV) Video

    • Resolved I guess
  2. Payment Page Disappearing When "Users Can Create PPV Plans" is Enabled

    • Are you saying that when a user creates their own PPV plan, the PayPal payment option disappears, leaving only the wallet deposit option? If so, I will need to check if this is intended behavior or a bug.
  3. Access to Trailer Before Purchase

    • I see your point. That makes sense, you are suggesting making the trailer and description more easily accessible before purchase?

@eitanwa
Copy link
Author

eitanwa commented Feb 1, 2025

Regarding the first issue
I just want to make sure:
The percentage I set will automatically go to the creator's wallet
And regarding the use of the funds beyond using the platform, he can also withdraw the money to his account, right?

Issues Reported

2.No

When I configure in the plugin that the user can create ppv programs than
PayPal payment option disappears, leaving only the wallet deposit option

3.exactly

Thank daniel

@eitanwa
Copy link
Author

eitanwa commented Feb 3, 2025

Hi regarding topic 3
If the content/video display
would be displayed to the user as it is when the content is embedded, meaning the purchase option would be on the screen itself using the BUY button
that would be great

@DanielnetoDotCom
Copy link
Member

#1
yes the percentage I set will automatically go to the creator's wallet

#2
I am not sure if I can change that, the loigic for now require the user to add in the wallet, to not mess the payments. I may review that in the future

#3

there is not description yet, but the trailer is already playing even on PPV videos

@eitanwa
Copy link
Author

eitanwa commented Feb 3, 2025

2
Not sure I fully understand
It only happens when you define that each user can create their own plan
If I, as an admin, set the plan then both options work
What's the difference?
Look, it doesn't really matter, it all achieves the same result (payment)
I just think that for new users who aren't particularly familiar with the wallet issue
it's easier to start with a one-time payment before adding funds
Let's hope there's a way to fix this

3I addressed this here
#9851 (comment)

The problem is that access to the trailer is only from the My Channel screen
And most users encounter the videos in other places (home screen, categories, video playback screen)
Therefore, the way the video is presented, as in the embed, is excellent

@eitanwa
Copy link
Author

eitanwa commented Feb 3, 2025

I just noticed that in the embedded ppv video
the trailer is playing on top of it
it's perfect

So actually after going through all the places/areas where a video is displayed
this is the only place in my opinion where you can add a button, a trailer for example

Image

and on second thought maybe it's not that necessary

@eitanwa
Copy link
Author

eitanwa commented Feb 4, 2025

Daniel I am sending a link
to an embedded PPV video
from one of our websites to another
everything is fine up until the stage of purchase-registration to the website, or login
can you please check

https://feisafe.com/article/494

I also tried on another site (not avideo)
same thing

@eitanwa
Copy link
Author

eitanwa commented Feb 5, 2025

Regarding purchasing embedded ppv content
Maybe the registration/login should open in a pop-up and not in an i-frame?

Image

Image

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Feb 5, 2025

  1. Yes, the creator can withdraw the funds. You can find more details on how to withdraw funds in the documentation: YPTWallet - Withdrawing Funds

  2. Currently, I cannot change this behavior. Modifying the logic would require significant development time and could introduce risks that might break existing functionality. At the moment, if users create their own PPV plans, payments must be made through the wallet. I may review this in the future, but there is no estimated time for implementation.

  3. The issue is related to cross-domain login restrictions. Browsers enforce security policies that prevent logging in across different domains. Unfortunately, this is not something I can change.

    • One potential solution is to open the login/registration in a new window, but users will then be redirected to the main site where the video is hosted, and all navigation must happen there.
    • Another possible workaround is to ensure both sites share the same domain (or use a subdomain), as some browsers may allow cross-domain logins within subdomains depending on their security policies.

@eitanwa
Copy link
Author

eitanwa commented Feb 6, 2025

In order for me to fully understand what you are saying

1.thanks

Admin can create plans, Allow users to use these plans
By enabling the "Users can set PPV plans on his videos" option
by using one of the PPV programs that the admin created
Then the user will have the option to choose payment:
From wallet balance or direct payment
Am I right?

So according to what you are saying there is no point in embedding PPV videos
And therefore this technology where the trailer plays over the video

which is amazing!!!

And this whole interface as it appears in the picture (the buy button)

Image

Is actually not relevant or unavailable for use/viewing
Am I right?

If so, it would be a shame to miss it
So what is possible and perhaps worth doing is to make the BUY button lead to the video itself
In my humble opinion, this does not require a major change. (Sorry if I'm wrong.)
Everyone will benefit from this

@eitanwa
Copy link
Author

eitanwa commented Feb 6, 2025

I read it again

" One potential solution is to open the login/registration in a new window, but users will then be redirected to the main site where the video is hosted, and all navigation must happen there."

And this is actually what I ment "to lead to the video"
You wrote to "register for the site" Which confused me a little.

If by clicking the BUY button you could be directed to the video itself on the website, that would be great!!

@eitanwa
Copy link
Author

eitanwa commented Feb 6, 2025

Something here is unclear and incomprehensible.

Let's say I enabled the option to allow the user to set a pricing plan
That means he can set any amount

If the direct payment option is not possible in this case As you say
Then we have the wallet option

The wallet has predetermined amounts to load onto the account

And this is an impossible situation

Or in fact And it would be more correct to say
you need to set up amounts in advance that will cover most of the possibilities

@DanielnetoDotCom
Copy link
Member

1. PPV Functionality

1.1. Users can only use the PPV plans created by the admin. I believe users cannot create their own plans, but I don’t recall if there is a specific place for this.
1.2. Currently, only wallet balance can be used for payments. However, I plan to add direct payment in the future.

2. PPV Video Embedding & Trailer Feature

2.1. Embedding a PPV video may cause login issues since the system was primarily designed to work directly on the site. It might work with some updates, but there are no plans to implement this for now.
2.2. Are you asking to play trailers on embedded videos? Also, do we already have a button dedicated to trailers, or would this require changes?
2.3. Embedded PPV videos might work if the embed page and the AVideo site are on the same domain/subdomain. Can you provide an example where this feature is unavailable?

3. Redirecting the "Buy" Button

3.1. Yes, making the "Buy" button lead directly to the video page is a great idea.

4. Wallet System & Pricing Issues

4.1. Here’s how the payment flow works:

  • The user pays the admin, and the amount is credited to the site wallet.
  • The user then pays the publisher using the site wallet.
  • The publisher accumulates a balance and can request a withdrawal.
    4.2. If a user doesn’t have enough balance, they can add more funds, but they must choose from predefined top-up values.
    4.3. I understand the concern about the wallet requiring fixed amounts while users can set any PPV price.
  • One possible solution is allowing direct payments, which would eliminate this issue.
  • I’ll consider this when implementing direct payments in the future.

@eitanwa
Copy link
Author

eitanwa commented Feb 6, 2025

1. PPV Functionality

1.1 Users can!! create their own programs This is the basis of my question

Image

this is from a user account non admin

Image

1.2. There is a direct payment!!

When the admin creates plans, 2 options open
The first is direct payment
The second is payment from the wallet

Image

go to payment page As shown in the picture

Clicking on it redirects to direct payment And not to the wallet
See what is written below (screen shot)
click above to add .50$... onto ypur wallet
Which refers to the wallet that appears in the top menu

(By the way, if there was also a button there, it would be great)

conclusion, the user has the option to create plans ,and there is a direct payment
Only that the direct payment option
which exists when the admin creates plans is canceled
When you mark in the PLUGIN that a user can create PPV plans

2. PPV Video Embedding & Trailer Feature

If 3 is possible then all my questions here will be unnecessary.

3. Redirecting the "Buy" Button
excellent!!!

4. Wallet System & Pricing Issues

Everything is clear except this and it's the same thing

"One possible solution is allowing direct payments, which would eliminate this issue."

Direct payment is available
Only not when the option for the user to create a plan is activated

thank daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants