forked from schusterf/service-portal-hacklab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServicePortalLab-Widget.xml
More file actions
409 lines (369 loc) · 22.5 KB
/
ServicePortalLab-Widget.xml
File metadata and controls
409 lines (369 loc) · 22.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2016-04-12 22:29:05">
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Global">global</application>
<application_name>Global</application_name>
<application_scope>global</application_scope>
<application_version/>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>Service Portal PayPal HackLab #2 - Widget</name>
<origin_sys_id/>
<release_date/>
<remote_sys_id>60686cb44ff21200c664c0818110c7bf</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>b7fd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sp_instance_29af3d50d7000200a9ad1e173e24d4d7</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sp_instance"><sp_instance action="INSERT_OR_UPDATE"><active>true</active><class_name/><color>primary</color><css/><glyph/><id/><order>4</order><short_description/><size>md</size><sp_column display_value="2">a77f3d50d7000200a9ad1e173e24d488</sp_column><sp_widget display_value="Ticket Location">2795e5e2ff123100ba13ffffffffff84</sp_widget><sys_class_name>sp_instance</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2015-05-11 21:25:25</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>29af3d50d7000200a9ad1e173e24d4d7</sys_id><sys_mod_count>6</sys_mod_count><sys_name>Location</sys_name><sys_package display_value="Service Portal - Core" source="com.glide.service-portal">c1e598f84fb21200c664c0818110c74b</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sp_instance_29af3d50d7000200a9ad1e173e24d4d7</sys_update_name><sys_updated_by>frank.schuster</sys_updated_by><sys_updated_on>2016-04-12 17:51:25</sys_updated_on><title>Location</title><url/><widget_parameters/></sp_instance></record_update>]]></payload>
<remote_update_set display_value="Service Portal PayPal HackLab #2 - Widget">b7fd65704f361200c664c0818110c7aa</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>3bfd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<table/>
<target_name>Location</target_name>
<type>Instance</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sp_widget_ebc86cb44ff21200c664c0818110c719</name>
<payload><?xml version="1.0" encoding="UTF-8"?><record_update table="sp_widget"><sp_widget action="INSERT_OR_UPDATE"><client_script><![CDATA[function paypalController($scope, $window, spUtil) {
var c = this;
c.paynow = function() {
c.data.type = c.credit_card_type;
c.data.first_name = c.first_name;
c.data.last_name = c.last_name;
c.data.credit_card_number = c.credit_card_number;
c.data.expire_month = c.expire_month;
c.data.expire_year = c.expire_year;
c.data.cvv = c.cvv;
c.server.update();
//Implement a Watcher that executes if we have a new value set in "data.payPalStatus"
$scope.$watch("data.payPalStatus", function(new_value) {
if(new_value) {
if(new_value == "success") {
$('#paymentModal').modal('hide')
var infoMessage = '<strong>Thank you!</strong> We received your payment. An agent will now follow up with you. You can track your requests status here: <a href="'+c.data.href+'">' + "${click here to view}" + '</a>';
spUtil.addInfoMessage(infoMessage);
} else {
$('#paymentFailed').show();
}
}
})
}
}
/*
@TODO: Utilize Option Schema for HTML directive, e.g. to configure success
or failure messages.
*/]]></client_script><controller_as>c</controller_as><css/><data_table>sp_instance</data_table><demo_data/><description/><docs/><field_list/><has_preview>true</has_preview><id>paypal_payment</id><internal>false</internal><link/><name>PayPal Payment</name><option_schema/><public>false</public><roles/><script><![CDATA[var gr = $sp.getRecord();
if (gr) {
data.tableLabel = gr.getLabel();
data.table = gr.getTableName();
data.sys_id = gr.getUniqueValue();
data.request_sys_id = gr.getValue('request');
data.href = "/$sp.do?id=sc_request&table=sc_request&sys_id="+gr.getValue('request');
}
/*
We only want to show the payment modal when the stage is "Payment Requested)
In order for this to work you will have to add a Stage with the value "payment_requested" to your Catalog Item workflow
*/
if(gr.getValue("stage") == "payment_requested") {
data.showPayment = true;
} else {
data.showPayment = false;
}
if (input && gr) {
try {
//Build PayPal JSON payment object
var payment = {
"intent": "sale",
"payer": {
},
"transactions": [{
"amount": {
"currency": gr.price.getReferenceCurrencyCode(),
"total": gr.price.getReferenceValue()
},
"description": "Liquor License fee for company: " + gr.request.requested_for.company.getDisplayValue()
}]
};
var funding_instruments = [
{
"credit_card": {
"type": input.type,
"number": input.credit_card_number,
"expire_month": input.expire_month,
"expire_year": input.expire_year,
"first_name": input.first_name,
"last_name": input.last_name,
"cvv2": input.cvv
}
}];
payment.payer.payment_method = 'credit_card';
payment.payer.funding_instruments = funding_instruments;
/*
Call the PayPal Sandbox Payment API for direct Credit Card payments
At first we will have to generate an OAuth token by using the PayPal OAuth API.
*/
var token = getPayPalToken();
gs.log("** Token returned from the getPayPalToken() method: " + token);
var sm = new sn_ws.RESTMessageV2();
sm.setEndpoint("https://api.sandbox.paypal.com/v1/payments/payment");
sm.setHttpMethod("post");
sm.setRequestHeader("Content-type","application/json");
sm.setRequestHeader("Authorization", "Bearer " + token);
sm.setRequestBody(JSON.stringify(payment));
var response = sm.execute();
var responseBody = response.getBody();
var httpStatus = response.getStatusCode();
if(httpStatus == "201") {
data.payPalStatus = "success";
//populate Date/Time variable on the RITM that could eventually drive our Workflow
gr.u_payment_received = gs.nowDateTime();
gr.comments = "** Auto System Notification: Received " + gr.price.getReferenceCurrencyCode() + " " + gr.price.getReferenceValue() + " payment paid by Credit Card via PayPal.";
gr.update();
gs.log("** Payment Notification - Payment completed, HTTP Status Code: " + httpStatus + "/ Body: " + responseBody);
} else {
data.payPalStatus = "failed";
gs.log("** Payment Notification - Payment failed, HTTP Status Code: " + httpStatus + "/ Body: " + responseBody);
}
}
catch(ex) {
var message = ex.getMessage();
gs.log("** Caught an exception within the PayPal payment block: " + message);
}
}
function getPayPalToken() {
try {
/*
Generate OAuth token by using the ClientID & Secret from the PayPal app.
*/
var sm = new sn_ws.RESTMessageV2();
sm.setEndpoint("https://api.sandbox.paypal.com/v1/oauth2/token");
sm.setHttpMethod("post");
sm.setRequestHeader("Accept","application/json");
sm.setRequestHeader("Accept-Language", "en_US");
//@setBasicAuth: values are coming from the PayPal App: Client ID,Secret
sm.setBasicAuth("AUygyS-gcfckzMLXpEHNwLNZXNXxJiOSRPw_Y53bRhR0rNUjYe8JY1UGt1bR2_cCG3Sp4Y_R8VKofGOg","EEhkwSp0qbFEOt7vOaqUSN6aLiD6dXih6rI0nE4e63XbVeVNsQv6V3vCeG9-KQXj5ySAAlfjShv4PV9b");
sm.setRequestBody("grant_type=client_credentials");
var response = sm.execute();
var responseBody = response.getBody();
var httpStatus = response.getStatusCode();
var accessIndex = responseBody.indexOf("access_token");
//OAuth token is 98 chars long - we have to add the 15 chars from the access_token string (@TODO: create more dynamic substring with RegEx)
var token = responseBody.substring(accessIndex+15, accessIndex+112);
return token;
}
catch(ex) {
var message = ex.getMessage();
gs.log("** Caught an exception within the PayPal token block: " + message);
}
}]]></script><servicenow>false</servicenow><sys_class_name>sp_widget</sys_class_name><sys_created_by>frank.schuster</sys_created_by><sys_created_on>2016-04-12 17:26:46</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>ebc86cb44ff21200c664c0818110c719</sys_id><sys_mod_count>5</sys_mod_count><sys_name>PayPal Payment</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sp_widget_ebc86cb44ff21200c664c0818110c719</sys_update_name><sys_updated_by>frank.schuster</sys_updated_by><sys_updated_on>2016-04-12 22:28:41</sys_updated_on><template><![CDATA[<!-- only show the payment widget when the stage is "Payment requested" (payment_requested) - value is set in the server script -->
<div ng-if="data.showPayment" ng-controller="paypalController">
<div class="panel b" >
<div class="panel-heading bg-primary">
<div ng-init="spSearch.targetRequests()"> <!-- @TODO: figure out what spSearch.targetRequests() does -->
<sp-c-link target="form" table="data.table" id="data.sys_id"/> <!-- @TODO: figure out what sp-c-link does -->
</div>
<span>${Make a Payment}</span>
</div>
<!-- Payment button, triggers the Payment modal -->
<form ng-submit="$event.preventDefault()" class="form-horizontal">
<div class="panel-body" style="text-align:center">
<button type="button" name="paynow" class="btn btn-success" style="font-size:x-large" data-toggle="modal" data-target="#paymentModal">${PayNow}</button>
</div>
</form>
</div>
<!-- Payment Modal -->
<div class="modal fade" id="paymentModal" tabindex="-1" role="dialog" aria-labelledby="paymentModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" padding-bottom="0px">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="paymentModalLabel">Safe Credit Card Payment powered by
<img float="right" width="200px" src="https://help.marinetraffic.com/hc/en-us/article_attachments/201220877/paypal.jpg">
</h4>
</div>
<div class="modal-body">
<form class="form-horizontal">
<fieldset>
<div id="paymentFailed" class="alert alert-danger" role="alert" style="display:none">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<strong>Warning!</strong> Payment couldn't be completed successfully. Please try again.
</div>
<!-- Select Basic -->
<div class="form-group">
<label class="col-md-4 control-label" for="type">Type</label>
<div class="col-md-4">
<select class="form-control" id="credit_card_type" ng-model="c.credit_card_type">
<option value="" disabled selected>Choose your credit card type.</option>
<option value="mastercard">MasterCard</option>
<option value="visa">VISA</option>
</select>
</div>
</div>
<!-- First name input-->
<div class="form-group">
<label class="col-md-4 control-label" for="first_name">First name</label>
<div class="col-md-4">
<input id="first_name" ng-model="c.first_name" name="first_name" type="text" placeholder="Frank" class="form-control input-md">
</div>
</div>
<!-- Last name input-->
<div class="form-group">
<label class="col-md-4 control-label" for="last_name">Last name</label>
<div class="col-md-4">
<input id="last_name" ng-model="c.last_name" name="last_name" type="text" placeholder="Schuster" class="form-control input-md" required="">
</div>
</div>
<!-- Credit Card Number input-->
<div class="form-group">
<label class="col-md-4 control-label" for="number">Number</label>
<div class="col-md-4">
<input id="number" ng-model="c.credit_card_number" name="number" type="text" placeholder="1234567889012345" class="form-control input-md" required="">
</div>
</div>
<!-- Expires (Month) input-->
<div class="form-group">
<label class="col-md-4 control-label" for="expiration">Expires (Month)</label>
<div class="col-md-4">
<input id="expiration" ng-model="c.expire_month" name="expiration" type="text" placeholder="12" class="form-control input-md" required="" >
</div>
</div>
<!-- Expires (Year) input-->
<div class="form-group">
<label class="col-md-4 control-label" for="expire_year">Expires (Year)</label>
<div class="col-md-4">
<input id="expire_year" ng-model="c.expire_year" name="expire_year" type="text" placeholder="2019" class="form-control input-md" required="">
</div>
</div>
<!-- CVV input-->
<div class="form-group">
<label class="col-md-4 control-label" for="cvv">CVV2</label>
<div class="col-md-4">
<input id="cvv" name="cvv" ng-model="c.cvv" type="text" placeholder="123" class="form-control input-md" required="">
</div>
</div>
</fieldset>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<a type="button" class="btn btn-primary" ng-click="c.paynow()">Pay NOW!</a>
</div>
</div>
</div>
</div>
</div>]]></template></sp_widget></record_update></payload>
<remote_update_set display_value="Service Portal PayPal HackLab #2 - Widget">b7fd65704f361200c664c0818110c7aa</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>3ffd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<table/>
<target_name>PayPal Payment</target_name>
<type>Widget</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sp_instance_47af3d50d7000200a9ad1e173e24d4f6</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sp_instance"><sp_instance action="INSERT_OR_UPDATE"><active>true</active><class_name/><color>primary</color><css/><glyph/><id/><order>5</order><short_description/><size>md</size><sp_column display_value="2">a77f3d50d7000200a9ad1e173e24d488</sp_column><sp_widget display_value="Ticket Attachments">9ee37281d7033100a9ad1e173e24d457</sp_widget><sys_class_name>sp_instance</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2015-05-11 21:25:32</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>47af3d50d7000200a9ad1e173e24d4f6</sys_id><sys_mod_count>6</sys_mod_count><sys_name>Attachments</sys_name><sys_package display_value="Service Portal - Core" source="com.glide.service-portal">c1e598f84fb21200c664c0818110c74b</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sp_instance_47af3d50d7000200a9ad1e173e24d4f6</sys_update_name><sys_updated_by>frank.schuster</sys_updated_by><sys_updated_on>2016-04-12 17:51:30</sys_updated_on><title>Attachments</title><url/><widget_parameters/></sp_instance></record_update>]]></payload>
<remote_update_set display_value="Service Portal PayPal HackLab #2 - Widget">b7fd65704f361200c664c0818110c7aa</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>7bfd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<table/>
<target_name>Attachments</target_name>
<type>Instance</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sp_instance_5b3ff950d7000200a9ad1e173e24d4dd</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sp_instance"><sp_instance action="INSERT_OR_UPDATE"><active>true</active><class_name/><color>default</color><css/><glyph/><id/><order>0</order><short_description/><size>md</size><sp_column display_value="1">493ff950d7000200a9ad1e173e24d4be</sp_column><sp_widget display_value="Barcode">12b8f3d3d7033100a9ad1e173e24d406</sp_widget><sys_class_name>sp_instance</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2015-05-11 21:23:55</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>5b3ff950d7000200a9ad1e173e24d4dd</sys_id><sys_mod_count>4</sys_mod_count><sys_name>Barcode</sys_name><sys_package display_value="Service Portal - Core" source="com.glide.service-portal">c1e598f84fb21200c664c0818110c74b</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sp_instance_5b3ff950d7000200a9ad1e173e24d4dd</sys_update_name><sys_updated_by>frank.schuster</sys_updated_by><sys_updated_on>2016-04-12 17:46:45</sys_updated_on><title>Barcode</title><url/><widget_parameters/></sp_instance></record_update>]]></payload>
<remote_update_set display_value="Service Portal PayPal HackLab #2 - Widget">b7fd65704f361200c664c0818110c7aa</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>bbfd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<table/>
<target_name>Barcode</target_name>
<type>Instance</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sp_instance_ba4e2cf44ff21200c664c0818110c780</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sp_instance"><sp_instance action="INSERT_OR_UPDATE"><active>true</active><class_name/><color>default</color><css/><glyph/><id/><order>3</order><short_description/><size>md</size><sp_column display_value="2">a77f3d50d7000200a9ad1e173e24d488</sp_column><sp_widget display_value="PayPal Payment">ebc86cb44ff21200c664c0818110c719</sp_widget><sys_class_name>sp_instance</sys_class_name><sys_created_by>frank.schuster</sys_created_by><sys_created_on>2016-04-12 17:50:45</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>ba4e2cf44ff21200c664c0818110c780</sys_id><sys_mod_count>1</sys_mod_count><sys_name>PayPal Payment</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sp_instance_ba4e2cf44ff21200c664c0818110c780</sys_update_name><sys_updated_by>frank.schuster</sys_updated_by><sys_updated_on>2016-04-12 17:51:19</sys_updated_on><title>PayPal Payment</title><url/><widget_parameters/></sp_instance></record_update>]]></payload>
<remote_update_set display_value="Service Portal PayPal HackLab #2 - Widget">b7fd65704f361200c664c0818110c7aa</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>frank.schuster</sys_created_by>
<sys_created_on>2016-04-12 22:29:05</sys_created_on>
<sys_id>fbfd65704f361200c664c0818110c7aa</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>frank.schuster</sys_updated_by>
<sys_updated_on>2016-04-12 22:29:05</sys_updated_on>
<table/>
<target_name>PayPal Payment</target_name>
<type>Instance</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
</unload>