1

I am working on PayPal subscription recurring when I add 2 product in my cart 1 is simple and other is subscription and place an order using this calls

if ($product->getCryozonicSubEnabled())
            {
                $interval = ucfirst($product->getCryozonicSubInterval());
                $intervalCount = $product->getCryozonicSubIntervalCount();

                $api->callCreateRecurringPaymentsProfile($interval,$product->getName(),$intervalCount);
            }
             if (!$product->getCryozonicSubEnabled())
            {
                $api->callDoExpressCheckoutPayment($data);
            } 

the problem is that in paypal both product in payment and recuring also creating.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.