mirror of https://github.com/BTCPrivate/copay.git
Revert "paypro: allow specific paypro headers."
This reverts commit bec2df549b5565b3f846e9a59e5240db01877d88.
This commit is contained in:
parent
8d2393230e
commit
32971772d1
|
@ -804,7 +804,6 @@ Wallet.prototype.createPaymentTx = function(options, cb) {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: options.uri,
|
url: options.uri,
|
||||||
headers: {
|
headers: {
|
||||||
'Access-Control-Request-Headers': 'Content-Type,Content-Length,Accept',
|
|
||||||
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
|
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
|
||||||
},
|
},
|
||||||
responseType: 'arraybuffer'
|
responseType: 'arraybuffer'
|
||||||
|
@ -1043,7 +1042,6 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
|
||||||
url: txp.merchant.pr.pd.payment_url,
|
url: txp.merchant.pr.pd.payment_url,
|
||||||
headers: {
|
headers: {
|
||||||
// BIP-71
|
// BIP-71
|
||||||
'Access-Control-Request-Headers': 'Content-Type,Content-Length,Accept',
|
|
||||||
'Accept': PayPro.PAYMENT_ACK_CONTENT_TYPE,
|
'Accept': PayPro.PAYMENT_ACK_CONTENT_TYPE,
|
||||||
'Content-Type': PayPro.PAYMENT_CONTENT_TYPE
|
'Content-Type': PayPro.PAYMENT_CONTENT_TYPE
|
||||||
// XHR does not allow these:
|
// XHR does not allow these:
|
||||||
|
|
Loading…
Reference in New Issue