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")! } }