Recent content by BubbaLovesCheese

  1. BubbaLovesCheese

    XF 2.3 Help figuring out the best way to offer User Upgrades with different durations?

    I'm trying to figure this out. Let's say I offer an upgrade to "gold" like so: $10 for 3 months $20 for 6 months $30 for 12 months I noticed a few things: If a user buys 3 months, the option to purchase another 3 months disappears If they buy 6 months, then they have 2 concurrent "gold"...
  2. BubbaLovesCheese

    [Xen-Soluce] User Upgrade Duration [Paid]

    @XenSoluce , does this stack different durations (see above question), and will it work with the gift addon?
  3. BubbaLovesCheese

    [Xen-Soluce] User Upgrade Duration [Paid]

    Was this question ever answered? If a user has 3 months remaining, and they purchase 12 months, will they have 15 in total?
  4. BubbaLovesCheese

    XF 2.3 This is how to prevent Paypal asking for a shipping address via REST API

    Update. Sorry, the above works for removing address when you have subscription.... and the code below works for removing addresses for 1-time purchases. I use BOTH in my code. Just add this code 'shipping_preference' = 'NO_SHIPPING' just around Line 264 'payment_source' => [...
  5. BubbaLovesCheese

    Gift Upgrades [Paid]

    Is there a way to have an upgrade that is only a gift, and not purchasable?
  6. BubbaLovesCheese

    Gift Upgrades [Paid]

    So I noticed when I click the GIFT box on the user profile popup, it displays all the user_upgrades options, even the ones that have been disabled. Am I doing something wrong, or have other experienced that too? I think it's the nf_gift_controls template that display that box.
  7. BubbaLovesCheese

    XF 2.3 What is the best way to bulk give users User Upgrades (with expiry dates)?

    I have 150 users who I would like to add to the user upgrades. Each one would have a different End Date. I could create a list like this: Name, UserGroup, End Date John, 48, Mar 30 2025 Paul, 50, Jun 13 2026 Ringo, 48, Dec 12 2026 George, 48, Jan 12 2027 Is there a way to bulk add them into...
  8. BubbaLovesCheese

    XF 2.3 What is the Webhook's retry policy in case of failure?

    Thanks! If anyone wanted to add custom webhook retries, you can add this to the src\XF\Job\Retryable file. class CustomWebhookSend extends WebhookSend { protected function calculateNextAttemptDate(int $previousAttempts): ?int { // Add any custom timing logic you want below...
  9. BubbaLovesCheese

    XF 2.3 What is the Webhook's retry policy in case of failure?

    Does the webhook reattempt delivery if it does not receive a 2xx status code response from the listener endpoint? If so, does anyone know the details on the retry schedule (number of retries, intervals, etc.) before it is marked as failed? And is there any documentation on this? Thanks!
  10. BubbaLovesCheese

    Fixed PayPal NEW error with user upgrades.

    @est3ban129 , This is the simple solution to stop Paypal from asking for a shipping address: https://xenforo.com/community/threads/this-is-how-to-prevent-paypal-asking-for-a-shipping-address-via-rest-api.229568/
  11. BubbaLovesCheese

    XF 2.3 This is how to prevent Paypal asking for a shipping address via REST API

    If you only sell User Upgrades, and you do NOT sell physical items, then you can prevent the newest Paypal Rest API from asking for a shipping address. Just add this code 'shipping_preference' => 'NO_SHIPPING' just after Line 237 in your /src/XF/Payment/PayPalRest.php file on your server...
  12. BubbaLovesCheese

    XF 2.3 Here is some custom Pricing Table code for User Upgrades

    I made some custom pricing tables for User Upgrades that I want to share. It is just template modifications and CSS, no addons or anything to instal. It's all manual. This is what the default style looks like, but you can adjust it to your taste. There are only 2 templates you need to...
  13. BubbaLovesCheese

    XF 2.2 PayPal sandbox error "Invalid Business"

    I agree. this is f'in crazy. I've spent 8 hours trying to get Paypal sandbox to work. Why is there no documentation for this....
  14. BubbaLovesCheese

    Add-on Paid Registrations

    Looks like the author has been awol for a couple years. Can you explain how you were able to make this addon work with 2.3.6?
Back
Top Bottom