Page MenuHomePhabricator

Implement backend for DLocal recurring card payments in SmashPig
Closed, ResolvedPublic4 Estimated Story Points

Description

Both initial and repeated installments

For initial, createPayment should just add "save": true parameter in the card object of the request when recurring is true, and save the resulting card_id to the recurringPaymentToken on the response
https://docs.dlocal.com/docs/saving-cards#save-a-card-on-a-payment

Note that card_id will only appear for successful payments.

https://docs.dlocal.com/reference/create-payment
For repeated installments, make createPayment accept recurring_payment_token in params and map it to the card_id parameter under the card object

Event Timeline

Dwisehaupt set the point value for this task to 4.Feb 6 2023, 9:20 PM

Change 889588 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[wikimedia/fundraising/SmashPig@master] Implement backend for DLocal recurring card payments in SmashPig

https://gerrit.wikimedia.org/r/889588

Change 889588 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Implement backend for DLocal recurring card payments in SmashPig

https://gerrit.wikimedia.org/r/889588

XenoRyet set Final Story Points to 4.