From b76d02b2e69ff96261a0cc013e3154d7b003cf1d Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Thu, 24 Oct 2024 08:34:29 -0700 Subject: [PATCH] Bug fix for live graphQL url --- CHANGELOG.md | 2 ++ Sources/CorePayments/Networking/Enums/Environment.swift | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9095de7..9412bfe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ * PayPalWebPayments * Deprecate `PayPalVaultRequest(url:setupTokenID:)` * Add `PayPalVaultRequest(setupTokenID:)` +* CorePayments + * Bug fix for live graphQL url ## 1.4.0 (2024-07-09) * PayPalNativePayments (DEPRECATED) diff --git a/Sources/CorePayments/Networking/Enums/Environment.swift b/Sources/CorePayments/Networking/Enums/Environment.swift index 21ae9ec3..7420301c 100644 --- a/Sources/CorePayments/Networking/Enums/Environment.swift +++ b/Sources/CorePayments/Networking/Enums/Environment.swift @@ -19,7 +19,7 @@ public enum Environment { case .sandbox: return URL(string: "https://www.sandbox.paypal.com/graphql")! case .live: - return URL(string: "https://paypal.com/graphql")! + return URL(string: "https://www.paypal.com/graphql")! } }