portal, platform, and server fixes
This commit is contained in:
@@ -183,7 +183,7 @@
|
||||
// Create payment intent on server
|
||||
window.createPaymentIntent = async function(formDataJson) {
|
||||
console.log('💳 Creating payment intent for company registration...');
|
||||
console.log('🔧 Server endpoint: /company/create-payment-intent');
|
||||
console.log('🔧 Server endpoint: /api/company/create-payment-intent');
|
||||
|
||||
try {
|
||||
// Parse the JSON string from Rust
|
||||
@@ -201,7 +201,7 @@
|
||||
final_agreement: formData.final_agreement
|
||||
});
|
||||
|
||||
const response = await fetch('http://127.0.0.1:3001/company/create-payment-intent', {
|
||||
const response = await fetch('http://127.0.0.1:3001/api/company/create-payment-intent', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@@ -424,7 +424,7 @@
|
||||
};
|
||||
|
||||
console.log('✅ Stripe integration ready for company registration payments');
|
||||
console.log('🔧 Server endpoint: /company/create-payment-intent');
|
||||
console.log('🔧 Server endpoint: /api/company/create-payment-intent');
|
||||
console.log('💡 Navigate to Entities → Register Company → Step 4 to process payments');
|
||||
|
||||
// Add a test function for manual payment testing
|
||||
|
Reference in New Issue
Block a user