Skip to content

Commit

Permalink
path change
Browse files Browse the repository at this point in the history
  • Loading branch information
devsisingh committed Mar 13, 2024
1 parent 36c3a31 commit 1b09745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/CheckoutForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function CheckoutForm() {
elements,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: "http://localhost:3000/mint",
return_url: "http://localhost:3000/buy",
},
});

Expand Down
2 changes: 1 addition & 1 deletion pages/buy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const APTOS_COIN = "0x1::aptos_coin::AptosCoin";
// Make sure to call `loadStripe` outside of a component’s render to avoid
// recreating the `Stripe` object on every render.
const stripePromise = loadStripe(
"pk_test_51OdxYiSAcOZ5DlUs5VTd0n0sLM9zqA7AiYlwrX3V7MSqJlJ8q3A6HboTgWXBU0tR3E4Z0ROpy0py55HyaVebZlo0003AdPq7UF"
"pk_test_51JZtirA56jIbQVxXy1kXPAJHcadV5w5laUfHoCWOcDPRSIgjuc0JRmXOzAA2hLUrNmsHIdpMRoGxeD1a3gdEgSpC00I0NpA0MS"
);

const GATEWAY_URL = process.env.NEXT_PUBLIC_GATEWAY_URL;
Expand Down

0 comments on commit 1b09745

Please sign in to comment.