return URL
This commit is contained in:
@@ -81,9 +81,11 @@ app.post('/initialize-transaction-with-plan', async (req, res) => {
|
||||
amount,
|
||||
plan,
|
||||
channels: ['card'], // limiting the checkout to show card, as it's the only channel that subscriptions are currently available through
|
||||
callback_url: `${process.env.SERVER_URL}/account.html`,
|
||||
callback_url: `${process.env.SERVER_URL}/payment`,
|
||||
});
|
||||
|
||||
//callback_url: `${process.env.SERVER_URL}/account.html`,
|
||||
|
||||
if (initializeTransactionResponse.status === false) {
|
||||
return console.log(
|
||||
'Error initializing transaction: ',
|
||||
|
||||
Reference in New Issue
Block a user