Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to return back after pay ? #3

Open
neonexxa opened this issue Nov 6, 2017 · 4 comments
Open

how to return back after pay ? #3

neonexxa opened this issue Nov 6, 2017 · 4 comments

Comments

@neonexxa
Copy link

neonexxa commented Nov 6, 2017

No description provided.

@wzul
Copy link

wzul commented Nov 6, 2017

Instead of setting data without "redirect_url", include redirect_url in the array. Example:

$bplz->set_data(array(
	'collection_id' => 'your collection id',
	'email' => '[email protected]',
	'mobile' => '60123456789',
	'name' => "Jone Doe",
	'due_at' => "2016-1-1",
	'amount' => 2000, // RM20
	'callback_url' => "http://yourwebsite.com/return_url",
	'redirect_url' => "http://google.com"
));

@neonexxa
Copy link
Author

neonexxa commented Nov 7, 2017

what method should i set for the redirect url ? is it get? or post?

@wzul
Copy link

wzul commented Nov 7, 2017

Use already predefined method:

$result = $bplz->create_bill();

@neonexxa
Copy link
Author

neonexxa commented Nov 7, 2017

oh ok.. thanks for your great package anyway , its very easy to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants