Dominyka
-
Posts
61 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Dominyka
-
-
What is a hook to catch when a Member is changing groups?
\IPS\Member has set_member_group_id( $value ), but I need to know what group they are changing from and what the new group is. In the "Recent Activity" I have logs like "Expiring purchase "X" changed group from "Y" to"Z"." - I need to hook into this moment. How?
-
Hey everyone!
I need to generate an invoice with a subscription product.
This creates everything just fine for any product, but never adds the renewals part. I can see there is a separate $recurrings variable on the checkoutAndPay page. Should I populate that somehow? A bit lost how renewals work.
$invoice_new = new \IPS\nexus\Invoice; $invoice_new->member = \IPS\nexus\Customer::loggedIn(); $invoice_new->currency = "USD"; $package = \IPS\nexus\Package::load( 1 ); $item = $package->createItemForCart( $package->price() ); $invoice_new->addItem( $item ); $invoice_new->save();
I'm using a regular product that renews, not the subscription module because I need to be able to use discount coupons for certain subscriptions, and those don't exist for the subscription module, only regular products.
-
Hey there!
I need to add an order bump to the final checkout process page (where the user enters payment info). (What is an order bump?)
Basically, a button that edits the invoice currently displayed to add/remove a product. I can find a method "acpAddToInvoice", but that's for the admin side. Is there a method to edit the invoice? Or should I perhaps just alter the database record of the invoice and reload the page?
Anyone encountered editing an invoice from the user side?
Ty!
-
On 10/7/2021 at 8:02 AM, Andy Millne said:
The requirement for address has been removed in 4.6.7.
It doesn't seem that way... The PayPal documentation doesn't require it, but on Invision it's still required to have a billing address for PayPal billing agreements.
-
I remember there was some progress bar once a user registered... To set up the user photo, etc.
What is that called? I cannot find it for the life of me. Onboarding? Set Up? Profile Configuration? Profile Progress?
I want to see if I can modify it now that I can make use of it. Thanks!
-
-
Figured something out!
-IF there is NO FREE TRIAL all payment options are available.
- IF there IS A FREE TRIAL, only the card option is available. PayPal and Account Credit aren't options for checkout.
This is both for subscriptions and regular products with renewals.
Also:
If the user isn't registered and there IS A FREE TRIAL, the subscription checkout also requires a billing address, First name and Last name.
Otherwise, in my case, the product has that disabled, and I'd like to not have it for subscriptions with trials too...
Seeing as subscriptions are a newer addition to Invision, maybe not all things have been worked out yet 🤔
The FREE TRIAL thing seems to trow it off somehow. Can I report this somewhere? Has anyone else experienced it?
-
Is there a way to enable PayPal payments for subscriptions? Do I need to do something special for that?
I have PayPal for my regular products, and it works superbly there.
-
Hi!
Instead of having all of the steps to checkout, we need ONE page.
What's on the page:
- Everything that's on the LAST page of checkout now ("Confirm & Pay" page) plus:
- Enter email and name (this is for creating an account)
- Optional: we'd also like an upsell checkmark.
How it works:
- The user is created using the Email and Name, without setting a password. The password is emailed to them to set (I know Invision has the capacity for this)
Example:
https://www.tealswan.net/24-meditations-order-a (disregard the design. But the functionality of this page is EXACTLY what we need)
I already have code where "Add To Cart" is replaced by "BUY", like in an Amazon 1 step checkout. So it just redirects to a checkout process for that one item, which is what we want. Now we just need to refine the checkout.
-
On 4/1/2021 at 6:44 PM, Jordan Invision said:
Hey @Dominyka.
For example, if something is $100, you want to give members the option to make 5 installments of $20 over X amount of time?
Yes. Let's say $20 every 2 weeks, or every month until $100 is reached.
-
-
16 minutes ago, Adriano Faria said:
If you mean Activity Streams, you can choose to display only content items (that will avoid comments) and you can also choose type, thus exclude Status Update.
If you really mean the search itself, that’s not possible, IIRC.
I mean search results
Thanks 🙂 😞
-
Any way to exclude Member status updates in the search?
And member comments under posts?
It reaaaaaally pollutes the search results, and drowns the database posts 😞
-
You need to locate the template your database is using and remove the code that adds the date:
{datetime="$row->_publishDate"}
and then there is also the part that adds the stats:
{{foreach $row->stats(TRUE) as $k => $v}} <li {{if \in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}> <span class='ipsDataItem_stats_number'>{number="$v"}</span> <span class='ipsDataItem_stats_type'>{lang="content_records_stat_{$k}" pluralize="$v"}</span> </li> {{endforeach}}
I suggest creating a custom database template and editing that.
-
Or alternatively -
Create a new cart/invoice with TWO items on a click of a button. I know how to do that with one item, but any way to have a <form> that adds a second item too?
I've tried working with associated items, but it seems they only work of the associated purchase is in the cart. Once it turns into an invoice it's not working.
-
I need to add an upsell button to an invoice.
When a person is in the invoice at https://tealswan.com/checkout/{invoiceID}/
i would like to add a button that adds an item to the invoice.
I found this function, but I don't know how to generate the \Item.
IPS\nexus\Invoice::addItem( \IPS\nexus\Invoice\Item $item, $cartKey = NULL )
To generate the Item I also need to generate a currency but if I do \IPS\nexus\Money::__construct ( $amount, $currency )
as $money = IPS\nexus\Money::__construct( 199, 'USD' ) it just shows error.
Any place I can see some examples? Or someone can help?
-
YES!!! ❤️
-
Oh my god I think I figured it out??
I might just find a way to actually make this Invision code actually work for myself 😄
-
Any way to get the registration form?
I've seen it on some Invision websites, but can't seem to figure out how to do it myself.
I got the Sign In form to work viaQuote{template="userBar" app="core" group="global" params=""}
But the registration form requires parameters that I have no idea how to get. Any help?
-
1 minute ago, DawPi said:
Did you check it?
Yes, I installed it, with no success in what I'd like. However in the support topic I found it says it's not for commerce unfortunately - https://invisioncommunity.com/forums/topic/445224-mix-no-require-full-address-support-topic/
-
7 minutes ago, DawPi said:
Try this instead:
Good idea. However this plugin does not work for commerce.
-
-
-
Does anyone know if Invision Provide any (paid) options for custom coded solutions?
There are several things with the check-out process in the store that we would love to make more marketing-friendly 🙂
Hook Member Changing Groups
in Developer Connection
Posted
Thank you! I was able to catch the new group ID.