Skip to content

Commit

Permalink
* PayPal checkout.js integration - possible bugfix reference added.
Browse files Browse the repository at this point in the history
Ahaenor committed Dec 11, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4380a51 commit c18d10c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gateways/paypal/js/leyka.paypal.js
Original file line number Diff line number Diff line change
@@ -115,6 +115,10 @@
tmp_donation_data[tmp_donation_data_array[i].name] = tmp_donation_data_array[i].value;
}

/**
* @todo Do tests to wrap this ajax call in promise-returning function.
* See possible problem here: https://github.com/paypal/paypal-checkout/issues/494
* */
$.ajax({
type: 'post',
url: leyka.ajaxurl,

0 comments on commit c18d10c

Please sign in to comment.