Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pod 'PayPalCheckout' binary "https://github.com/paypal/paypalcheckout-ios/raw/main/Carthage/PayPalCheckout.json" #274

Closed
shango420 opened this issue Oct 27, 2023 · 4 comments

Comments

@shango420
Copy link

No description provided.

@github-actions
Copy link

Thank you for reaching out to the Native Checkout SDK team. This integration path is now inactive for new merchants.
If you are an existing merchant, please contact us here for further assistance.

New merchants can integrate the Native Checkout experience via the Braintree Android SDK or PayPal Android SDK.
For more information please see their respective developer documentation linked below.

@shango420
Copy link
Author

shango420 commented Oct 27, 2023

func configurePayPalCheckout() {
let config = CheckoutConfig(
clientID: @Xhangtech ",
createOrder: { action in
let orderRequest = OrderRequest.init(
intent: .capture,
purchaseUnits: [
PurchaseUnit(
amount: PurchaseUnit.Amount(
currencyCode: .usd, value: "10.00"
)
)
],
applicationContext: OrderApplicationContext(userAction: .payNow)
)
action.create(order: orderRequest)
}
},
environment: .sandbox
)
Checkout.set(config: config)
}

@shango420 shango420 changed the title pod 'PayPalCheckout' pod 'PayPalCheckout' binary "https://github.com/paypal/paypalcheckout-ios/raw/main/Carthage/PayPalCheckout.json" Oct 30, 2023
@shango420
Copy link
Author

allprojects {
repositories {
mavenCentral()
}
}

@shango420 shango420 mentioned this issue Oct 30, 2023
@shango420
Copy link
Author

allprojects {
repositories {
mavenCentral()
}
}

@chpypl chpypl closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants