Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -338,7 +338,6 @@ def store_order_in_salesforce(cart, total_amount, name, email, phone):
|
|
| 338 |
"Total_Bill__c": total_amount,
|
| 339 |
"Order_Status__c": "Pending", # Fixed order_status
|
| 340 |
"Customer2__c": customer_id # Ensure this is valid, maybe replace with customer_id
|
| 341 |
-
"Customer_Name__c"
|
| 342 |
}
|
| 343 |
|
| 344 |
try:
|
|
|
|
| 338 |
"Total_Bill__c": total_amount,
|
| 339 |
"Order_Status__c": "Pending", # Fixed order_status
|
| 340 |
"Customer2__c": customer_id # Ensure this is valid, maybe replace with customer_id
|
|
|
|
| 341 |
}
|
| 342 |
|
| 343 |
try:
|