paymill/paymill-ruby

Update payment in subscriptions

Opened this issue · 2 comments

Hi try to replace a payment in a running subscription.

I create a new payment
find the subscription.

then subscription.payment = new_payment.id
subscription.update

...

undefined method `update' for #Paymill::Subscription:0x007f81fe587e88

I have no clue.

Hi @LosVogas
I will check this soon and write back.

Hi @LosVogas

Pls check the flow in the update payment of subscription spec

I have tested it again manually and it works for me.

I will suggest to add the client reference when creating the new payment.