Chris Kreft

ist there any way to change the db field type for RightTitle in EditableFormFields to Text? Unfortunatley they are cut of after 256 Chars by default

Chris Kreft

is there any way to determine if a file in an n:m relation has been added in a dataobjects observer (onbeforewrite)? seems like "changedfields" does only apply for database fields directly resided in the dataobject

wmk

can you check if the relation is an UnsavedRelationList ?

Mo

If you mean that the file is liked via a many_many association, then I got around this using many_many_through and performing the check on the join object's onAfterWrite()

👍 (1)
Chris Kreft

Seems like omnipay-stripe uses the "Stripe Charge" as default. Works fine at the moment but as it won't run any more in the near future. At least for european banks one should switch to "Payment Intents". Has anyone ever managed to do that? No idea how to change the Gateway as there seems to be only one...

wmk

@Chris Kreft I once helped @greg_808 to implement it in SilverShop (based on a gist by @kinglozzer). If you need help I'm happy to ask for the code and help you implementing it. You might find the solutions in the slack archive... It needs some custom javascript to handle stripe and save back the relevant parts to omnipay. Also getting all information out of the different docs and understand it wasn't easy...

Lorrain Fontaine

I would also be happy to get that information, I’m using stripe as a gateway on a website and I’m afraid it’ll stop working sooner or later because of the SCA :x

Chris Kreft

That would be great. Any help is appreciated. Let's talk. We would love to make a package and howto out of it. Probably kills a painpoint that lots of people cope with. We will also implement wirecard in january. Love to give our knowledge back to the community.

Chris Kreft

Molli has some of those as it is an external gateway. But it does not run out of the box. Throws errors over and over. Managed to fix some of them. But reliable payment feels different...

Chris Kreft

You can. But you won't have invoice payment nor pay later when doing that... Actually no way to use any of the invoicing providers when doing ecommerce in silverstripe...

Chris Kreft

Anyone ever migrated elemental when upgrading from ss3 to ss4?

theruss

Hey Chris, I'm going from silverstripe-blocks (SS3) to elemental in SS4 _right now