[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [donate/master] Don't set an initial amount for recurring payment



commit e28e7e10e31b0a2da48153396815fcb10d4ddafd
Author: peterh <peterh@xxxxxxxxxxxxxxx>
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';



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits