This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A warning occurred (42 apples) | |
An error occurred |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
import urlparse | |
import collections | |
import httplib | |
def TestPayment(): | |
#Set our headers | |
headers = { | |
'X-PAYPAL-SECURITY-USERID': 'jb-us-seller_api1.paypal.com', | |
'X-PAYPAL-SECURITY-PASSWORD': 'WX4WTU3S8MY44S7F', |