Support to use an existing credit card when create a payment
To support using an existing credit card when create a payment, is needed: to create a property and a setter method to credit card ID in the class CreditCardRequest.
You can find the official API documentation to create a payment here (PT-BR)!
Implementation Tips:
See the implementation of hash property in CreditCardRequest, the class has a setter (hash) and getter (getHash).
So all you have to do:
- Add the property
idin the class; - Create the setter and getter methods.
- It's done :)
@caiogaspar Hi. I want to take this issue.
I'll implement but need more details about the feature
@vkdrn @Polovinsky I edited the description adding more details about what is needed ;)
Cool!
@caiogaspar Done it
Any idea when this patch will be released?