Ejegg has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/363361 )
Change subject: Fix and note for Amazon manual IPN test harness
......................................................................
Fix and note for Amazon manual IPN test harness
Change-Id: I9a05ded44989e4afd18117ba88b783fcc15d7943
---
M PaymentProviders/Amazon/Tests/manual/amznipnfake.js
M PaymentProviders/Amazon/Tests/manual/index.html
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig
refs/changes/61/363361/1
diff --git a/PaymentProviders/Amazon/Tests/manual/amznipnfake.js
b/PaymentProviders/Amazon/Tests/manual/amznipnfake.js
index 7907a88..026fa22 100644
--- a/PaymentProviders/Amazon/Tests/manual/amznipnfake.js
+++ b/PaymentProviders/Amazon/Tests/manual/amznipnfake.js
@@ -10,7 +10,7 @@
$.getJSON( 'RawPosts/' + notificationType + '.json',
function( postJson ) {
$.ajax({
- type: 'POST',
+ method: 'POST',
url: listenerUrl,
contentType: 'application/json; charset=utf-8',
headers: postJson.headers,
diff --git a/PaymentProviders/Amazon/Tests/manual/index.html
b/PaymentProviders/Amazon/Tests/manual/index.html
index b9b07a2..fd057ed 100644
--- a/PaymentProviders/Amazon/Tests/manual/index.html
+++ b/PaymentProviders/Amazon/Tests/manual/index.html
@@ -7,7 +7,7 @@
<h3>Amazon listener test posts</h3>
<p>Send some convincing-looking posts (including valid signatures) to
your listener</p>
<p>If you have an externally-accessible https URL and an Amazon
merchant account, you can test more varieties at <a
href="https://sellercentral.amazon.com/hz/me/hmi/ipn/main">https://sellercentral.amazon.com/hz/me/hmi/ipn/main</a></p>
-Listener URL: <input type='text' id='listener_url' /><br/>
+Listener URL (must be on the same domain as this page): <input type='text'
id='listener_url' /><br/>
<button id='capture_completed'>Capture completed</button><br/>
<button id='refund_completed'>Refund completed</button><br/>
<button id='capture_declined'>Capture declined</button><br/>
--
To view, visit https://gerrit.wikimedia.org/r/363361
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a05ded44989e4afd18117ba88b783fcc15d7943
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits