[tor-commits] [donate/master] Don't set an initial amount for recurring payment
peterh at torproject.org
peterh at torproject.org
Mon Dec 31 18:59:48 UTC 2018
commit e28e7e10e31b0a2da48153396815fcb10d4ddafd
Author: peterh <peterh at giantrabbit.com>
Date: Wed Dec 19 14:58:50 2018 -0800
Don't set an initial amount for recurring payment
It turns out this is not the amount to charge the first time for the
recurring payment, but instead it is any extra you want to charge the
first time.
---
src/PaypalController.php | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/PaypalController.php b/src/PaypalController.php
index f339be43..23bc5e17 100644
--- a/src/PaypalController.php
+++ b/src/PaypalController.php
@@ -162,7 +162,6 @@ class PaypalController extends BaseController {
public function processRecurring($request, $amountInDollars, $token) {
$activationDetails = new ActivationDetailsType();
- $activationDetails->InitialAmount = new BasicAmountType(static::CURRENCY_CODE, $amountInDollars);
$paymentPeriod = new BillingPeriodDetailsType();
$paymentPeriod->BillingFrequency = 1;
$paymentPeriod->BillingPeriod = 'Month';
More information about the tor-commits
mailing list