Paypal, Sandbox & multiple plugins

Hi there,

I need to use three plugins for selling videos on my site: Pay Per View, Membership and MarketPress (for selling DVDs).

A. Is there any problem using all three in terms of the interaction with PayPal or for any other reason?

B. I set up Sandbox for testing Pay Per View. It all works but then it won’t allow me to sign in to pay with my paypal account. Do I need to create a Sandbox user to pay? How do I do this?

Thank you,

Eliana

  • Jack Kitterhing
    • Code Norris

    Hi there Eliana,

    I hope you are well today.

    A) There could be depending on the IPN, as you won’t receive notifications by standard, membership shouldn’t be a problem but Pay Per View could be as you you can only have one IPN notification URL in your account which means you’d need to set up an IPN forwarder, I believe. Do you have IPN notifications set up? :slight_smile:

    B) Do you have a PayPal sandbox account? If you do, you can login to that at developer.paypal.com, once logged in, click on “applications” > on the left hand side “sandbox accounts” > top right create account and then create a personal/buyer account to pay for the item :slight_smile:

    Thank you!

    Kind Regards

    Jack.

  • Eliana
    • WPMU DEV Initiate

    Hi Jack,

    Thank you.

    A) No, I don’t have IPN set up. Is that why when I return to the site after paying I need to press a button ‘confirm payment’ before I can see the content?

    How do I set it up?

    So far I only have one plugin active, Pay Per View.

    B) That worked, Thanks!

  • Eliana
    • WPMU DEV Initiate

    Now I also have set up the membership plugin. The payment with the sandbox didn’t work but I tried it live, outside of sandbox. It worked but it did not redirect me back to the site. I’m using PayPal Express Gateway. How do I get it to return to the site when a user pays and becomes a member?

  • Eliana
    • WPMU DEV Initiate

    I’ve now added the MarketPress plugin. I can go to settings but the tab on left ‘Products’ that is supposed to appear is not there. It seems to clash with my theme. When I activate a different theme the Products tab appears. What should I look for in my theme to fix this? I’m using Glory: http://themeforest.net/item/glory-the-wordpress-theme-for-churches/2205910

    I’m putting all of my issues in the same thread because maybe they are related somehow.

    Thanks,

    Eliana

  • Eliana
    • WPMU DEV Initiate

    I changed the following line: ‘menu_position’ => null, to ‘menu_position’ => 20,

    in one of the custom post type files of my theme. Now the ‘Products’ button appears.

    Still waiting to hear about the other issues above.

    Thanks.

  • Jack Kitterhing
    • Code Norris

    Hi there @Eliana

    I hope you are well today, sorry for the delay with my reply.

    A) No, I don’t have IPN set up. Is that why when I return to the site after paying I need to press a button ‘confirm payment’ before I can see the content?

    How do I set it up?

    So far I only have one plugin active, Pay Per View.

    I’m pleased to say for Pay Per View you don’t need to set that up, but yes you have got that correct, but it’s not needed for Pay Per View :slight_smile:

    B) Great! :slight_smile:

    Now I also have set up the membership plugin. The payment with the sandbox didn’t work but I tried it live, outside of sandbox. It worked but it did not redirect me back to the site. I’m using PayPal Express Gateway. How do I get it to return to the site when a user pays and becomes a member?

    It should be redirecting back automatically as it’s built into the gateway a bit like Pay Per View, Can I have a link where i can test this please? with a live paypal account, if you could set up a test subscription for a small amount :slight_smile:

    Glad to hear you got the MarketPress issue resolved with the product menu item :slight_smile:

    Thank you!

    Kind Regards

    Jack.

  • Eliana
    • WPMU DEV Initiate

    Hi Jack,

    I’ve been using my localhost, I’ll set up a test environment for you and update the post tomorrow… thank you for looking into this.

    Regarding the PPV plugin – the scenario I’ve described above is not a good one. I want the user to come back to the site and see the content. Instead he is prompted with this button which is very unclear why he would need to press. And then if he does press it he is presented with the same button. Only after he presses it twice is the content displayed. How can I avoid this?

  • Jack Kitterhing
    • Code Norris

    Hi there @Eliana

    I hope you are well today, you can email me the link to contact(at)wpmudev.org and put in the subject line: Attn: Jack Kitterhing

    If you could also include some admin access as well that would be great, then I can look at your PPV issue as well :slight_smile:

    Thank you!

    Kind Regards

    Jack.

  • Jack Kitterhing
    • Code Norris

    Hi there @Eliana

    I hope you are well today and thank you for the details,

    I have checked the website and the confirm button is correct on the site as that confirms the payment to go through on PayPal I’m afraid and there’s not much that can be done about that step :slight_frown: With regards to the wrong link, I Believe that may be because of the overall URL structure.

    Could i get some FTP details please to check please? Also would it be possible to add me as a membership admin, to check the membership issues :slight_smile:

    Thank you!

    Kind Regards

    Jack.

  • Eliana
    • WPMU DEV Initiate

    Hi Jack,

    Sorry for the delay – somehow I didn’t get notified that you posted.

    I’ve made you an administrator. I’ll send you FTP details.

    About the confirm button – did you have to click it twice to see the PPV content.

    Isn’t that a bug? Why would you have to click the same button twice?

    These issues have become pretty urgent as I’m reaching the deadline. :disappointed:

    Thank you once again.

    Eliana

  • Jack Kitterhing
    • Code Norris

    Hi there @Eliana

    I hope you are well today and thank you for your the details, I have checked the issues.

    For the membership you'll need to setup your pages and then this should work correctly (please see attached screenshot).

    The Pay Per View is a rather strange with the page not found, I'm going to flag the lead developer on this and send him over the details to provide his valuable insight.

    Thank you for your patience.

    Kind Regards

    Jack.

    [attachments are only viewable by logged-in members]

  • Eliana
    • WPMU DEV Initiate

    Thank you, Jack.

    For the membership I set up the page correctly and it now works. Sorry about that.

    I look forward to hearing from the lead developer about the pay per view.

    The scenario:

    I buy the pay per view. I’m redirected to the site to the correct page with a confirm button. When I click the button I’m redirected to mysite.com/118 – page not found.

    Please let me know if you need more details.

    Good day, Eliana

  • Arnold
    • El Macho WP

    Just uploaded a fix for that. It was redirecting to the post id number instead of the permalink for a post id. Depending on how your theme reacts it could just interpret the 118 as a page reference and since there only one page it goes where you expect which is why it was previously undetected.

  • Eliana
    • WPMU DEV Initiate

    Works great. Just one thing – there is an open string displayed on the page when I’m first redirected back to the site.

    I didn’t get a chance to take a screenshot but it looks something like this: ‘ =”118’

    and is displayed above the content of the page.