Yes, payments worked in test env, but the user puts in his CC details on the shop and not offsite like with PayPal
Do I have to check "Process payments unsafely" in my stripe config with omipay/stripe?
Anyone added stripe to silvershop/omnipay? I'm a bit stuck with configuring it correctly.
ah, ElementalArea, not WidgetArea
well, it also needs to be published. If you visit the page in "Stage/preview" mode, you will see your blocks...
BaseElement is, yes. Do you have a direct relation or do you use a WidgetArea for that?
Blocks as Elemental or what kind of Blocks? Are the blocks versioned? Then you need to "own" them, which will publish the blocks
As you already have an ArrayList, why not search the ArrayList by callback?
So you mean i should use the filterByCallback Method?
yes. I dunno if search filters work with ArrayLists.
ArrayListTest doesn't use search filter modifiers.. https://github.com/silverstripe/silverstripe-framework/blob/4/tests/php/ORM/ArrayListTest.php
DataListTest does, so it doesn't seem to be supported
Good catch, I thought it should work
And the related issue: https://github.com/silverstripe/silverstripe-framework/issues/5911
Request for enhancement to ArrayList originally discussed in (and subsequently taken from) core dev DL and setup as an issue here for tracking. It appears that array lists do not actually utilize f...Hide attachment content
Hmm okay, it seems that this solution have a lower performance. I’m doing some code optimizations, so i will try to filter the companies in my API call first.
Thanks for help 🙂
It seems, that PartialMatch is for
Like '%Foo' DB queries, so it won't work on ArrayLists?