Download the PHP package sch-group/weldpay without Composer
On this page you can find all versions of the php package sch-group/weldpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sch-group/weldpay
More information about sch-group/weldpay
Files in sch-group/weldpay
Download sch-group/weldpay
More information about sch-group/weldpay
Files in sch-group/weldpay
Vendor sch-group
Package weldpay
Short Description Italian weldpay payments api connector
License MIT
Package weldpay
Short Description Italian weldpay payments api connector
License MIT
Please rate this library. Is it a good library?
Informations about the package weldpay
WELDPAY PAYMENT SYSTEM
@ainurecm telegram
Create transaction
$weldPayConfig = new WeldPayConfig($config['host'], $config['client_id'], $config['client_secret']);
$client = new WeldPayConnector($weldPayConfig);
$orderNumber = "order_number: 123456";
$address = new Address(
"20132",
"Milano",
"MI",
"via Roma, 18A"
);
$shippingAddress = new Address();
$buyer = new Buyer(
"Mario",
"Rossi",
"[email protected]",
$address,
$shippingAddress
);
$numberOfPackages = 2;
$item1 = new Item("Product 1", 70);
$item2 = new Item("Product 2", 10.53);
$items = [$item1, $item2];
$deliveryItem = new Item("Delivery", 6.4);
$deliveryItems = [$deliveryItem];
$successUrl = "https://ecommerce.test.it?success=181024174141&token=e685801c-76cc-45d1-8a75-285dadde";
$failUrl = "https://ecommerce.test.it?fail=181024174141&token=e685801c-76cc-45d1-8a75-285dadde";
$callbackUrl = "https://ecommerce.test.it?paymentConfirmed=181024174141&token=e685801c-76cc-45d1-8a75-285d";
$transaction = new Transaction(
"es",
$orderNumber,
$buyer,
$numberOfPackages,
$items,
$deliveryItems,
$successUrl,
$failUrl,
$callbackUrl
);
$client->generateTransactionUrl($transaction);
All versions of weldpay with dependencies
PHP Build Version
Package Version
The package sch-group/weldpay contains the following files
Loading the files please wait ....