Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $.ajax({
  2. type: "POST",
  3. url: "{{ path('confirm_pay',{'id': id }) }}",
  4. data: {payment_method_id: result.paymentMethod, token: clientSecret , id: {{ id }}},
  5. success: function(response) {
  6. $("#absoprofile").html(response);
  7. },
  8. error:function(request, status, error) {
  9. console.log("Reading database went wrong. Error " + request.responseText);
  10. }
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement