@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
PayResult proceedPayment(PaymentRequest paymentRequest)
}
And of course the Async.
public interface GreetingServiceAsync {
void proceedPayment(PaymentRequest paymentRequest, AsyncCallback< PayResult > callback);
}
With the name of the function you understand that the gwt client is going to request the payment and the server (GAE) is going to proceed to payment.
My question is the following:
imagine that the client calls the proceedPayment function sucessfully. The server receives the request but while the payment is being processed on the server, the client connection fails.
what happens then?
On the client side the onFailure methode is called --> the client believes the payement has failed...
On the server side the payement has been successfully performed.
HOW CAN I SOLVE THIS ISSUE?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment