Skip to content

Commit 2722261

Browse files
committed
Automatically submit form once paypal completes
1 parent 85d0407 commit 2722261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Metadata/js/omnipay_PaypalRest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
document.getElementById('PayerID').value = data['payerID'];
129129
document.getElementById('payment_token').value = paymentToken;
130130

131-
// CRM.$(CRM.payment.getBillingSubmit()).click();
131+
CRM.$(CRM.payment.getBillingSubmit()).click();
132132
},
133133

134134
onError: function(err) {

0 commit comments

Comments
 (0)