mirror of
https://github.com/jlengrand/dialogflow-fun.git
synced 2026-03-10 08:11:22 +00:00
Minor fix
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -53,3 +53,4 @@ resources/templates/js/**
|
|||||||
resources/templates/fonts/**
|
resources/templates/fonts/**
|
||||||
dist
|
dist
|
||||||
.classpath
|
.classpath
|
||||||
|
dialogflow-fun-api/src/main/appengine/app.yaml
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public class DialogFlowService {
|
|||||||
contact + " at " + getCurrentTime())
|
contact + " at " + getCurrentTime())
|
||||||
);
|
);
|
||||||
|
|
||||||
if (paymentRequest == null || paymentRequest.getStatus() == null || paymentRequest.getStatus().equalsIgnoreCase("completed"))
|
if (paymentRequest == null || paymentRequest.getStatus() == null || !paymentRequest.getStatus().equalsIgnoreCase("completed"))
|
||||||
return new DialogFlowResponse("Sorry, the creation of the payment failed. Please try again later! Make sure to use your bank account's currency!");
|
return new DialogFlowResponse("Sorry, the creation of the payment failed. Please try again later! Make sure to use your bank account's currency!");
|
||||||
|
|
||||||
return new DialogFlowResponse("Created a payment for a value of " + unitCurrency.getAmount() + unitCurrency.getCurrency() + " to " + contact);
|
return new DialogFlowResponse("Created a payment for a value of " + unitCurrency.getAmount() + unitCurrency.getCurrency() + " to " + contact);
|
||||||
|
|||||||
Reference in New Issue
Block a user