public void BillingAgreement(PaypalBillinAgreement assinante) { var assinantura = PayPal.Api.Agreement.Create(Paypal(), new Agreement { name = assinante.nome, description = assinante.description, start_date = DateTime.UtcNow.AddMinutes(5).ToString("yyyy-MM-ddTHH:mm:ssZ"), plan = new Plan { id = assinante.plano }, payer = new Payer { payment_method = "paypal", payer_info = new PayerInfo { email = assinante.email } } }); }
public void salvar(PaypalBillinAgreement assinatura) { ContextPaypal contextPaypal = new ContextPaypal(); contextPaypal.Paypal. }