paymill

Paymill API: How do I update a subscription's credit card?

风格不统一 提交于 2019-12-22 09:44:43
问题 I can create subscriptions, but I can't figure out how to update a subscription so that it uses a new credit card. This is what I've tried: (assuming there is already an existing client, payment and subscription) create token in ui create a payment object in server update client like this: paymill.clients.update(clientId, { payment: payment.id }, callback); I get this error: Error: Identifier,payment Exception: Api_Exception_InvalidParameter Which calls do I need to make to achieve this? 回答1:

Build error “Are you missing a using directive or assembly reference” - target framework version 4

浪尽此生 提交于 2019-12-12 06:49:49
问题 I've got a project that uses a library (from nuget) The target framework for my project is currently 4.0 I'm using objects and methods from the library, I get intellisense etc... However, when I build, compilation fails with The type or namespace could not be found. Are you missing a using directive or assembly reference? If I change the target framework of the project to 4.5, it compiles. Is there a way round this? EDIT As a specific example, here are the steps to reproduce this problem in