Skip to content

Commit

Permalink
fixup! Add buy tracking for paybis
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Sep 23, 2024
1 parent ada1ead commit 047262a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- added: Buy conversion tracking for Moonpay
- added: Buy conversion tracking for Paybis
- added: Support for dp.edge.app deeplinks
- added: Support for return.edge.app deeplinks
- added: Error tracking for failure to report conversions to referral server
- changed: Remove whitespaces from custom token contract address input
- fixed: URI encoding in Paybis return URIs
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/gui/providers/paybisProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ export const paybisProvider: FiatProviderFactory = {
const promoCodeParam = promoCode != null ? `&promoCode=${promoCode}` : ''

if (direction === 'buy') {
const successReturnURL = encodeURIComponent('https://deep.edge.app/fiatprovider/buy/paybis?transactionStatus=success')
const failureReturnURL = encodeURIComponent('https://deep.edge.app/fiatprovider/buy/paybis?transactionStatus=fail')
const successReturnURL = encodeURIComponent('https://return.edge.app/fiatprovider/buy/paybis?transactionStatus=success')
const failureReturnURL = encodeURIComponent('https://return.edge.app/fiatprovider/buy/paybis?transactionStatus=fail')
await showUi.openExternalWebView({
url: `${widgetUrl}?requestId=${requestId}${ott}${promoCodeParam}&successReturnURL=${successReturnURL}&failureReturnURL=${failureReturnURL}`,
providerId,
Expand Down

0 comments on commit 047262a

Please sign in to comment.