Jump to content
Larry Ullman's Book Forums

Transaction_Id And Receipt In Chapter 6


Recommended Posts

Dear Admin,

 I'm integrating a payment processor named Global pay by Zenith bank Nigeria on my site. The site is subscription site similar to Knowledge is power. My script is the same as registration.php in chapter 6 the only difference is where I change paypal code for global pay. I want to ask 2 questions :

1) How can I generate transaction_id on my site for payment processor from my code? I thought paypal generated it for us behind the scene but here they want my site to generate it for the payment processor.

 

2) How do I include receipt.php  for customer to print after completing the order on paypal without relying on the one paypal will send to the customer like we did in chapter 13?

 

 

 

 

Link to comment
Share on other sites

Thanks very much.

After downloading the library from github, the instruction is not clear on how to make use of the library.  I tried using

RandomLIb/generator

generator->generateString(32, 'abcdf'). it was saying the class not found.

 

I tried using rand(1111222233334444, 5555666677778888). it works  but not given me the consistent 12 digits number? please, bail me out.

Link to comment
Share on other sites

 Share

×
×
  • Create New...