When i try to create a Billing agreement ,i am not getting the Agreement_ID and State. it is always return null but it is not giving any exception and i am getting the aproval url and when i redirect the user for payment approval i am getting CustomerBillingAgreement StateFatalError&rapidsStateSignature=(null) this message in url and message read we are unable to process the request now try diffrent payment method var apiContext = PayPalConfiguration.GetAPIContext(); var agreement = new Agreement() { name = "Override Agreement", description = "PayPal payment agreement that overrides merchant preferences and shipping fee and tax information.", start_date = startDate.ToString("yyyy-MM-ddTHH:mm:ss") + "Z", payer = new Payer() { payment_method = "paypal", payer_info = new PayerInfo() { email = "email" } }, plan = new Plan() { id = planId }, shipping_address = shippingAddress, override_merchant_preferences = new MerchantPreferences() { setup_fee = new Currency() { value = "3", currency = "USD" }, return_url = "http://localhost:64121/PayPal/SubscribeSuccess", cancel_url = "http://localhost:64121/PayPal/SubscribeCancel", auto_bill_amount = "YES", initial_fail_amount_action = "CONTINUE", max_fail_attempts = "11" } }; var createdAgreement = agreement.Create(apiContext);
... View more