wilr

The module probably relies on something else calling write to update the database record. Have a look at the unit tests for the module to see if that gives an idea of the process.

greg_808

It just does not write to the database i would be realy greatful for a hint.

greg_808

This is how the record looks after decrementStock() is executed

greg_808

This is how the record looks before decrementStock() is executed

greg_808

should silvershop/stock actually work. it seams it won’t decrement the stock. ProductStockExtension decrementStock() method gets called if i watch it with xdebug. To me everything looks good but it won’t write to the database. Any Ideas? Do i miss some config or …

StefanO

It keeps the user in the paypal page and alerts them of the failed payment, but the silverstripe side still sets everything to payed so they can have a declined payment, close paypal and then everything acts like it was successful

StefanO

Hi all, when using silvershop/omnipay and silverstripe/silverstripe-omnipay when a payment is declined for insufficient funds it's still setting the payments to Captured and triggering the onCaptured functions. Does anyone know what I've done wrong?

wmk

Yes, payments worked in test env, but the user puts in his CC details on the shop and not offsite like with PayPal

wilr

that’ll put a warning out but lets you process payment last I tested

wilr

@wmk that an option in Stripe? In non SSL environments just use Stripe Test key etc.