Last active
December 20, 2016 09:21
-
-
Save allaniftrue/8e4b1b946954cca2420e to your computer and use it in GitHub Desktop.
Using Omnipay Paypal With Laravel Views
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Laravel - Omnipay - Paypal Example</title> | |
</head> | |
<body> | |
{{ Form::open([ 'url' => 'pay_via_paypal', 'method' => 'post' ]) }} | |
<p> | |
<img src="{{ $productImage }}" alt="Aurvana Platinum"> | |
<br /> | |
{{ $product }} | |
<br> | |
{{ $description }} | |
<br> | |
{{ $currency }} {{ $price }} | |
<br> | |
<input type="hidden" value="{{ $product }}" name="product"> | |
<input type="hidden" value="{{ $description }}" name="description"> | |
<input type="hidden" value="{{ $currency }}" name="currency"> | |
<input type="hidden" value="{{ $price }}" name="price"> | |
<button type="submit">PAY NOW!</button> | |
</p> | |
{{ Form::close() }} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment