This is a usual charge as we showed it in get-it-started with only these additions:
<?php// prepare.php/** @var\Payum\Core\Model\PaymentInterface $payment */$payment->setDetails(new\ArrayObject(['amount'=>2000,'currency'=>'USD',// everything in this section is never sent to the payment gateway'local'=> ['save_card'=>true,'customer'=> ['plan'=> $plan['id']], ],]));
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider: