Commit 58636b48 by Damien Moulard

WIP: reccurent payment, quickfix #1

parent 7696ea61
......@@ -68,7 +68,7 @@ class CaptureAction implements ActionInterface, GatewayAwareInterface, GenericTo
$model['vads_page_action'] = 'REGISTER_PAY_SUBSCRIBE';
$model['vads_sub_amount'] = "1000"; // TODO get params
$model['vads_sub_currency'] = $model['vads_currency'];
$model['vads_sub_effect_date'] = (new \DateTime('now', new \DateTimeZone('UTC')))->format('YmdHis');
$model['vads_sub_effect_date'] = (new \DateTime('now', new \DateTimeZone('UTC')))->format('Ymd');
$model['vads_sub_desc'] = 'RRULE:FREQ=DAILY;INTERVAL=1;COUNT=2';
// $model['vads_sub_desc'] = 'RRULE:FREQ=MONTHLY;COUNT=12;BYMONTHDAY=10';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment