Announcement

Collapse
No announcement yet.

2Checkout not giving "access" to paid subscriptions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Luke
    replied
    Authorize.net requires integration with a newer API that doesn't exist in vBulletin 4. We updated vBulletin 5.5.2+ to accommodate this required change earlier this year.

    I wish I had a better answer but I expect more and more integrations with vBulletin 4.X will fail over time. Web Technology, especially PHP and integrating with websites continues to change with a focus on security.

    Leave a comment:


  • gsk8
    replied
    But no longer on VB4.

    Leave a comment:


  • gsk8
    replied
    I am now using Authorize.net instead and it seems to be working.

    Leave a comment:


  • gsk8
    replied
    I will gladly pay someone to fix this. Anyone?

    Leave a comment:


  • gsk8
    replied
    I REALLY appreciate you looking into this. It was a nightmare just to get approved to use 2CO! They wanted everything except a tube of blood.

    I only chose them because they were one of the few defaults on VB that didn't require a Paypal account. Many of my users live in countries where they can't use PP unless they actually have an account (unlike CAN and US).

    If I knew one of the other selections worked and that folks do not need an account, I would gladly change.

    Leave a comment:


  • Wayne Luke
    replied
    Originally posted by gsk8 View Post
    Does it work in VB5? If so, where I can I study the script?
    Ironically, the code for vB4 has a newer time stamp. The 2checkout code in vBulletin 5 was last updated in 2014. However, for the most part the two sets of code are the same. There are no currently open bug reports against vBulletin 5 and 2Checkout. I wouldn't be able to tell you if it works or not. Still looking into what it takes to get a 2checkout account just for testing purposes.

    The code is stored in pretty much the same location on both versions....

    vBulletin 4 - /includes/paymentapi
    vBulletin 5 - /core/includes/paymentapi

    Leave a comment:


  • gsk8
    replied
    Does it work in VB5? If so, where I can I study the script?

    Leave a comment:


  • Mark.B
    replied
    Originally posted by gsk8 View Post
    Has anyone had a chance to look into this? As mentioned before, it didn't appear to work for other versions either. I've tried everything I can think of.
    Not yet. We will take a look when we can.

    It is again important to reiterate that vB4 is end of life and no bug fixes or feature changes will be put into the product, regardless of whether this worked previously or not.

    Leave a comment:


  • gsk8
    replied
    Has anyone had a chance to look into this? As mentioned before, it didn't appear to work for other versions either. I've tried everything I can think of.

    Leave a comment:


  • gsk8
    replied
    Here is what the first page of 2Checkout looks like when using the default template. Note there is no userid or username.

    Click image for larger version

Name:	2CO.png
Views:	34
Size:	51.4 KB
ID:	4398195

    Leave a comment:


  • gsk8
    replied
    Well, the above code did not work for the subscription_payment_2checkout template. So I tried something different going off a Paypal line (see bolded red). It didn't work either. I got an error.

    I then changed this:

    <input type="hidden" name="sid" value="{vb:raw settings.twocheckout_id}" />
    <input type="hidden" name="cart_order_id" value="{vb:raw item}" />
    <input type="hidden" name="total" value="{vb:raw cost}" />
    <input type="hidden" name="id_type" value="2" />
    <input type="hidden" name="c_prod" value="{vb:raw subinfo.twocheckout_prodid}" />

    to this:

    <input type="hidden" name="sid" value="{vb:raw settings.twocheckout_id}" />
    <input type="hidden" name="cart_order_id" value="{vb:raw userinfo.username}" />
    <input type="hidden" name="total" value="{vb:raw cost}" />
    <input type="hidden" name="id_type" value="2" />
    <input type="hidden" name="c_prod" value="{vb:raw subinfo.twocheckout_prodid}" />

    Leave a comment:


  • gsk8
    replied
    Apparently bug reports were sent in both VB3 and VB4 on this:
    https://www.vbulletin.com/forum/foru...ever-be-fixed/

    Leave a comment:


  • gsk8
    replied
    I'm going to try the below edit and see what happens. But it's clear from these posts that this problem has been overlooked for a long time.

    https://www.vbulletin.com/forum/foru...t-api-problems

    It's not a perfect solution, but it works... just go into your "subscription_payment_2checkout" template and change the line that says

    Code:
    <input type="hidden" name="cart_order_id" value="$cart" />
    (at least that's what I think it says, as far as I can remember... if not, just look for a line with that "cart_order_id" in it)

    into something like

    Code:
    <input type="hidden" name="cart_order_id" value="$bbuserinfo[userid]" />
    That should include the userid in all 2checkout confirmation emails (it should look something like "Cart XXX" where XXX is the user id.)

    You can also use any of the other user details, like $bbuserinfo[username] or whatever... it sure clears up all the confusion.

    Leave a comment:


  • gsk8
    replied
    Well, I just did a quick search and found several pages. Here are several threads that had problems:

    https://www.vbulletin.com/forum/foru...-subscriptions

    https://www.vbulletin.com/forum/foru...rom-3-8-7-to-4

    https://www.vbulletin.com/forum/foru...kout-bug/page3

    https://www.vbulletin.com/forum/foru...t-api-problems

    https://www.vbulletin.com/forum/foru...-subscriptions

    https://www.vbulletin.com/forum/foru...ning-2checkout

    Leave a comment:


  • Mark.B
    replied
    Originally posted by gsk8 View Post
    I appreciate that. Just remember, 2CO said they have not made any changes, so I wonder if ever really worked on VB?
    Impossible to say with any certainty unless any other customer can confirm it.

    Leave a comment:

Related Topics

Collapse

Working...
X