Skip to content

Commit

Permalink
PayPal troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Helaman99 committed Nov 18, 2023
1 parent 449799c commit c14a958
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-politick-static-app-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
working-directory: ./Politick
run: npm run build
env:
PAYPAL_CLIENT_ID: ${{ secrets.PAYPAL_CLIENT_ID }}
VUE_APP_PAYPAL_CLIENT_ID: ${{ secrets.PAYPAL_CLIENT_ID }}
- name: Run Vitest Unit Tests
run: npm run test:unit
working-directory: ./Politick
Expand Down
2 changes: 2 additions & 0 deletions BACKLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Backlog

* Make the login/signup buttons load

* Fix logic for minutes vs coins rewarded (people getting all five coins from first 5 minutes vs last 5 minutes) (may not do this)

* reCaptcha for SignUp page (needs a custom domain first so Politick can be registered with Google Search Console)
Expand Down
4 changes: 3 additions & 1 deletion Politick/src/views/ShopCoinsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ async function buyCoins(coinPack: CoinPack) {
try {
await loadScript(
'https://www.paypal.com/sdk/js?client-id=' + process.env.PAYPAL_CLIENT_ID + '&currency=USD'
'https://www.paypal.com/sdk/js?client-id=' +
process.env.VUE_APP_PAYPAL_CLIENT_ID +
'&currency=USD'
)
// Render PayPal button
Expand Down

0 comments on commit c14a958

Please sign in to comment.