我正在尝试通过Braintree将Paypal集成到我的iOS应用中。我现在正在沙盒环境中工作。我从服务器收到了正确的客户令牌,然后在完成交易后也收到了现时密钥。当我将此随机数发送到服务器时,我也会收到带有交易收据的成功响应。问题是我的任何交易都没有反映在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;}
感谢您的帮助。