Почему мои транзакции Paypal через Braintree (Песочница) не отражаются на панели инструментов Braintree? - PullRequest
0 голосов
/ 22 января 2019

Я пытаюсь интегрировать Paypal в мое приложение для iOS через Braintree.Я сейчас работаю в среде песочницы.Я получаю правильный клиентский токен с моего сервера, а затем получаю одноразовый ключ, как только сделаю транзакцию.Когда я отправляю этот одноразовый номер на мой сервер, я также получаю ответ об успешном завершении с подтверждением транзакции.Проблема в том, что ни одна из моих транзакций не отражается на панели инструментов Braintree.Вот ответ, который я получаю после отправки одноразового ключа на мой сервер:

{
Message =     {
    CreditCardVerification = "<null>";
    Errors = "<null>";
    Message = "<null>";
    Parameters = "<null>";
    Subscription = "<null>";
    Target =         {
        AddOns =             (
        );
        AdditionalProcessorResponse = "<null>";
        AmexExpressCheckoutDetails = "<null>";
        Amount = "2.32";
        AndroidPayDetails = "<null>";
        ApplePayDetails = "<null>";
        AuthorizationAdjustments =             (
        );
        AuthorizationExpiresAt = "2019-01-29T14:11:22Z";
        AuthorizedTransactionId = "<null>";
        AvsErrorResponseCode = "<null>";
        AvsPostalCodeResponseCode = I;
        AvsStreetAddressResponseCode = I;
        BillingAddress =             {
            Company = "<null>";
            CountryCodeAlpha2 = "<null>";
            CountryCodeAlpha3 = "<null>";
            CountryCodeNumeric = "<null>";
            CountryName = "<null>";
            CreatedAt = "<null>";
            CustomerId = "<null>";
            ExtendedAddress = "<null>";
            FirstName = "<null>";
            Id = "<null>";
            LastName = "<null>";
            Locality = "<null>";
            PostalCode = "<null>";
            Region = "<null>";
            StreetAddress = "<null>";
            UpdatedAt = "<null>";
        };
        Channel = "<null>";
        CoinbaseDetails = "<null>";
        CreatedAt = "2019-01-22T14:11:22Z";
        CreditCard =             {
            BillingAddress =                 {
                Company = "<null>";
                CountryCodeAlpha2 = "<null>";
                CountryCodeAlpha3 = "<null>";
                CountryCodeNumeric = "<null>";
                CountryName = "<null>";
                CreatedAt = "<null>";
                CustomerId = "<null>";
                ExtendedAddress = "<null>";
                FirstName = "<null>";
                Id = "<null>";
                LastName = "<null>";
                Locality = "<null>";
                PostalCode = "<null>";
                Region = "<null>";
                StreetAddress = "<null>";
                UpdatedAt = "<null>";
            };
            Bin = 411111;
            CardType =                 {
            };
            CardholderName = "<null>";
            Commercial =                 {
            };
            CountryOfIssuance = Unknown;
            CreatedAt = "<null>";
            CustomerId = "<null>";
            CustomerLocation =                 {
            };
            Debit =                 {
            };
            DurbinRegulated =                 {
            };
            ExpirationDate = "04/2024";
            ExpirationMonth = 04;
            ExpirationYear = 2024;
            Healthcare =                 {
            };
            ImageUrl = "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox";
            IsDefault = "<null>";
            IsExpired = "<null>";
            IsVenmoSdk = 0;
            IssuingBank = Unknown;
            LastFour = 1111;
            MaskedNumber = "411111******1111";
            Payroll =                 {
            };
            Prepaid =                 {
            };
            ProductId = Unknown;
            Subscriptions =                 (
            );
            Token = "<null>";
            UniqueNumberIdentifier = "<null>";
            UpdatedAt = "<null>";
            Verification = "<null>";
        };
        CurrencyIsoCode = INR;
        CustomFields =             {
        };
        CustomerDetails =             {
            Company = "<null>";
            Email = "<null>";
            Fax = "<null>";
            FirstName = "<null>";
            Id = "<null>";
            LastName = "<null>";
            Phone = "<null>";
            Website = "<null>";
        };
        CvvResponseCode = I;
        Descriptor =             {
            Name = "<null>";
            Phone = "<null>";
            Url = "<null>";
        };
        DisbursementDetails =             {
            DisbursementDate = "<null>";
            FundsHeld = "<null>";
            SettlementAmount = "<null>";
            SettlementCurrencyExchangeRate = "<null>";
            SettlementCurrencyIsoCode = "<null>";
            Success = "<null>";
        };
        DiscountAmount = "<null>";
        Discounts =             (
        );
        Disputes =             (
        );
        EscrowStatus =             {
        };
        FacilitatedDetails = "<null>";
        FacilitatorDetails = "<null>";
        GatewayRejectionReason =             {
        };
        Id = bsfh22bw;
        IdealPaymentDetails = "<null>";
        MasterpassCardDetails = "<null>";
        MerchantAccountId = preetrammy;
        NetworkTransactionId = 020190122141122;
        OrderId = "<null>";
        PartialSettlementTransactionIds =             (
        );
        PayPalDetails = "<null>";
        PaymentInstrumentType =             {
        };
        PlanId = "<null>";
        ProcessorAuthorizationCode = 6DX1R7;
        ProcessorResponseCode = 1000;
        ProcessorResponseText = Approved;
        ProcessorResponseType =             {
        };
        ProcessorSettlementResponseCode = "<null>";
        ProcessorSettlementResponseText = "<null>";
        PurchaseOrderNumber = "<null>";
        Recurring = 0;
        RefundIds =             (
        );
        RefundedTransactionId = "<null>";
        RiskData = "<null>";
        SamsungPayCardDetails = "<null>";
        ServiceFeeAmount = "<null>";
        SettlementBatchId = "<null>";
        ShippingAddress =             {
            Company = "<null>";
            CountryCodeAlpha2 = "<null>";
            CountryCodeAlpha3 = "<null>";
            CountryCodeNumeric = "<null>";
            CountryName = "<null>";
            CreatedAt = "<null>";
            CustomerId = "<null>";
            ExtendedAddress = "<null>";
            FirstName = "<null>";
            Id = "<null>";
            LastName = "<null>";
            Locality = "<null>";
            PostalCode = "<null>";
            Region = "<null>";
            StreetAddress = "<null>";
            UpdatedAt = "<null>";
        };
        ShippingAmount = "<null>";
        ShipsFromPostalCode = "<null>";
        Status =             {
        };
        StatusHistory =             (
                            {
                Amount = "2.32";
                Source =                     {
                };
                Status =                     {
                };
                Timestamp = "2019-01-22T14:11:22Z";
                User = rammy;
            },
                            {
                Amount = "2.32";
                Source =                     {
                };
                Status =                     {
                };
                Timestamp = "2019-01-22T14:11:22Z";
                User = rammy;
            }
        );
        SubscriptionDetails =             {
            BillingPeriodEndDate = "<null>";
            BillingPeriodStartDate = "<null>";
        };
        SubscriptionId = "<null>";
        TaxAmount = "<null>";
        TaxExempt = 0;
        ThreeDSecureInfo = "<null>";
        Type =             {
        };
        UpdatedAt = "2019-01-22T14:11:22Z";
        UsBankAccountDetails = "<null>";
        VenmoAccountDetails = "<null>";
        VisaCheckoutCardDetails = "<null>";
        VoiceReferralNumber = "<null>";
    };
    Transaction = "<null>";
};
Status = success;}

Любая помощь приветствуется.

...