Skip to content

Buy: Feat - MoonPay ApplePay-US embedded buy#2169

Open
Gamboster wants to merge 22 commits into
bitpay:developfrom
Gamboster:feat/moonpayEmbeddedBuy
Open

Buy: Feat - MoonPay ApplePay-US embedded buy#2169
Gamboster wants to merge 22 commits into
bitpay:developfrom
Gamboster:feat/moonpayEmbeddedBuy

Conversation

@Gamboster
Copy link
Copy Markdown
Collaborator

@Gamboster Gamboster commented May 16, 2026

Related ticket: https://bitpayprod.atlassian.net/browse/RN-2668

Bitcore PR required: bitpay/bitcore#4170

In this PR:

Prioritize Moonpay as the preselected partner if embedded-buy is enabled and ApplePay is selected. Otherwise, the behavior remains within the "kayak flow".

The "embedded-buy flow" was implemented for cases where all of the following requirements are met:

  • The user is located in US or their data belongs to the US.
  • The selected payment method is Apple Pay, provided its use is enabled.
  • The user is logged in with their BitPay account.

Other notes:
A credentialManager was implemented to check when a user connection to Moonpay is required. If a connection is required, the connectOnboarding screen is displayed.

The option to "Unlink Account" has been added from the Connections menu.

The default pills for selecting the amount in buy/sell were increased to 50/100/300

Added the ability to disable embedded flow from BWS config:
buyCrypto?.moonpay?.config?.embeddedBuyDisabled = true

To test these changes, a BWC bump is needed, and the new endpoints must be deployed in BWS.

@Gamboster Gamboster force-pushed the feat/moonpayEmbeddedBuy branch from 7964b81 to 5d5f20e Compare May 18, 2026 16:16
@Gamboster Gamboster force-pushed the feat/moonpayEmbeddedBuy branch from 5d5f20e to d9d56f5 Compare May 18, 2026 16:21
@Gamboster Gamboster force-pushed the feat/moonpayEmbeddedBuy branch from 0557c04 to 82389e8 Compare May 20, 2026 03:36
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

Successfully merging this pull request may close these issues.

1 participant