Skip to content

Commit 6088141

Browse files
committed
[#3793] Add VCR tests
1 parent b523bdc commit 6088141

File tree

3 files changed

+326
-1
lines changed

3 files changed

+326
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
interactions:
2+
- request:
3+
body: PSPID=maykinmedia&ORDERID=xyz2024_OF-123456_987654321THISISPROBABLYTOOLONG&AMOUNT=1000&CURRENCY=EUR&LANGUAGE=nl_NL&PMLISTTYPE=2&ACCEPTURL=http%3A%2F%2Ffoo.bar%2Freturn%3Fbazz%3Dbuzz%26action%3Daccept&DECLINEURL=http%3A%2F%2Ffoo.bar%2Freturn%3Fbazz%3Dbuzz%26action%3Dcancel&EXCEPTIONURL=http%3A%2F%2Ffoo.bar%2Freturn%3Fbazz%3Dbuzz%26action%3Dexception&CANCELURL=http%3A%2F%2Ffoo.bar%2Freturn%3Fbazz%3Dbuzz%26action%3Dcancel&BACKURL=http%3A%2F%2Ffoo.bar%2Freturn%3Fbazz%3Dbuzz%26action%3Dcancel&SHASIGN=2514CC52C8D1C2D92F0D389FAAC9B677C1B96A24B8295F39E4C700C2D643C89C15ECD8905FC6070E6DB91E8EA7A66A7EDF4CB9D9CF8A8C156BDAE76C334B9F26
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate, br
9+
Connection:
10+
- keep-alive
11+
Content-Length:
12+
- '629'
13+
Content-Type:
14+
- application/x-www-form-urlencoded
15+
User-Agent:
16+
- python-requests/2.31.0
17+
method: POST
18+
uri: https://ogone.test.v-psp.com/ncol/test/orderstandard_utf8.asp
19+
response:
20+
body:
21+
string: "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;
22+
charset=iso-8859-1\"><title>Betaalbevestiging</title><meta name=\"viewport\"
23+
content=\"width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0,
24+
maximum-scale=1.0\"></head><body text=\"#000000\" bgcolor=\"#FFFFFF\" topmargin=\"2\"
25+
leftmargin=\"4\"><p align=\"center\"><b><font face=\"Verdana\" size=\"4\">Betaalbevestiging</font></b></p><font
26+
face=\"Verdana\">\r\n\t<!-- Order overview -->\r\n\t<h2 style=\"display: inline;
27+
position: absolute; left: -1000px; top: -1000px; width: 0px; height: 0px;
28+
overflow: hidden;\">Overzicht van de bestelling</h2>\r\n\t<table class=ncoltable1
29+
border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"95%\" id=\"ncol_ref\">\r\n\t\t\t\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<td
30+
class=ncoltxtl colspan=\"1\" align=\"right\" width=\"50%\"><small>Referentie
31+
van de bestelling :<!--External reference--></small></td>\r\n\t\t\t\t\t\t\t<td
32+
class=ncoltxtr colspan=\"1\" width=\"50%\"><small>xyz2024_OF-123456_987654321THISISPROBABLYTOOLONG</small></td>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<td
33+
class=ncoltxtl colspan=\"1\" align=\"right\"><small>Totale kostprijs :<!--Total
34+
to pay--></small></td>\r\n\t\t\t\t\t\t\t<td class=ncoltxtr colspan=\"1\">\r\n\t\t\t\t\t\t\t<small>\r\n\t\t\t\t\t\t\t---\r\n\t\t\t\t\t\t\t</small>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<td
35+
class=ncoltxtl colspan=\"1\" align=\"right\"><small>Begunstigde :<!--Beneficiary--></small></td>\r\n\t\t\t\t\t\t\t<td
36+
class=ncoltxtr colspan=\"1\"><small>---</small></td>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</tr>\r\n\r\n\t\t\t\t\t\r\n\t</table>\r\n\t\r\n<br>\r\n<table
37+
class=\"ncoltable1\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"95%\">\r\n\t<tr>\r\n\t\t<td
38+
class=\"ncoltxtc\" colspan=\"2\" align=\"center\">\r\n\t\t\tEr is een fout
39+
opgetreden. Probeer later opnieuw.\r\nBent u de eigenaar of de designer van
40+
deze website&#63; Meld u dan aan in het backoffice van om de details van
41+
de foutmelding te bekijken.\r\n\t\t</td>\r\n\t</tr>\r\n</table>\r\n<input
42+
type=\"hidden\" name=\"log\" value=\"\">\r\n<br>\r\n\r\n\t\t<script type=\"text/javascript\"
43+
src=\"js/jquery.core/jquery-3.7.0.min.js\"></script>\r\n\t\t<script type=\"text/javascript\"
44+
src=\"js/jquery.plugins/jquery-migrate-3.4.1.min.js\"></script>\r\n\t\r\n\t\t<script
45+
type=\"text/javascript\">\r\n\t\t\tvar OGONE = {};\r\n\t\t\tOGONE.jQuery =
46+
$.noConflict(true);\r\n\t\t</script>\r\n\t\r\n\t<script type=\"text/javascript\"
47+
language=\"JavaScript\" src=\"js/fp/Fp_inc.1.2.js\"></script>\r\n\t<script
48+
type=\"text/javascript\" language=\"JavaScript\" src=\"base64_inc.js\"></script>\r\n\t\r\n<!--
49+
Further information / Cancel -->\r\n<h2 style=\"display: inline; position:
50+
absolute; left: -1000px; top: -1000px; width: 0px; height: 0px; overflow:
51+
hidden;\">Overige gegevens / Annuleren</h2>\r\n<table class=ncoltable3 border=\"0\"
52+
cellpadding=\"2\" cellspacing=\"0\" width=\"95%\" id=\"ie_cc\" style=\"behavior:url(#default#clientCaps)\">\r\n\t<tr><td
53+
class=\"ncollogoc\" valign=\"middle\" align=\"center\" width=\"33%\"></td><td
54+
class=\"ncollogoc\" valign=\"middle\" align=\"center\" width=\"33%\"><a href=\"https&#58;//ogone.test.v-psp.com/ncol/PSPabout.asp?lang=8&pspid=maykinmedia&branding=OGONE&CSRFSP=%2Fncol%2Ftest%2Forderstandard%5Futf8%2Easp&CSRFKEY=8D5C820EDD4D570CF6BBCF7BB7258F202A86B70C&CSRFTS=20240131140344\"
55+
target=\"_blank\"><img border=\"0\" src=\"https&#58;//ogone.test.v-psp.com/images/pp_WorldLine8.png\"
56+
alt=\"Betaling verwerkt door Worldline\" title=\"Betaling verwerkt door Worldline\"
57+
vspace=\"2\" id=\"NCOLPP\"></a><br><small><small><a class=\"bottom\" href=\"https&#58;//worldline.com/&#63;lang=8&amp;pspid=maykinmedia&amp;branding=OGONE&amp;CSRFSP=%2Fncol%2Ftest%2Forderstandard%5Futf8%2Easp&amp;CSRFKEY=307CB69EE61F9F70DF280DAFBBC14DC6AF930980&amp;CSRFTS=20240131140344\"
58+
target=\"_blank\">Over Worldline</a> |<a class=\"bottom\" href=\"https&#58;//ogone.test.v-psp.com/ncol/security.asp&#63;lang=8&amp;mode=STD&amp;branding=OGONE&amp;CSRFSP=%2Fncol%2Ftest%2Forderstandard%5Futf8%2Easp&amp;CSRFKEY=17A2D3D9980939D10B70EAF1ECD44794762256D8&amp;CSRFTS=20240131140344\"
59+
target=\"_blank\">Veiligheid<!--Security--></a>| <a class=\"bottom\" href=\"https&#58;//worldline.com/en/home/main-navigation/git/office-locations.html&#63;lang=8&amp;mode=STD&amp;branding=OGONE&amp;CSRFSP=%2Fncol%2Ftest%2Forderstandard%5Futf8%2Easp&amp;CSRFKEY=920D9F96982F7C782AF91FEE1EF2F3720DB5CFC1&amp;CSRFTS=20240131140344\"
60+
target=\"_blank\">Wettelijke informatie<!--Legal--></a></small></small></td><td
61+
class=\"ncollogoc\" valign=\"middle\" align=\"center\" width=\"33%\">&nbsp;</td></tr>\r\n\r\n</table>\r\n</font></html>"
62+
headers:
63+
cache-control:
64+
- private, max-age=0
65+
content-length:
66+
- '4328'
67+
content-type:
68+
- text/html; Charset=utf-8
69+
date:
70+
- Wed, 31 Jan 2024 13:03:44 GMT
71+
expires:
72+
- Wed, 31 Jan 2024 13:02:43 GMT
73+
set-cookie:
74+
- sessionTest=ae8e45aa-37a3-492f-9852-12f95aba3e88; path=/ncol/test/; Secure;
75+
HttpOnly
76+
strict-transport-security:
77+
- max-age=16000000; includeSubDomains; preload;
78+
status:
79+
code: 200
80+
message: OK
81+
version: 1

0 commit comments

Comments
 (0)